function EntityViewDisplayEditForm::getTableHeader

Returns an array containing the table headers.

Return value

array The table header.

Overrides EntityDisplayFormBase::getTableHeader

File

core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php, line 130

Class

EntityViewDisplayEditForm
Edit form for the EntityViewDisplay entity type.

Namespace

Drupal\field_ui\Form

Code

protected function getTableHeader() {
  return [
    $this->t('Field'),
    $this->t('Weight'),
    $this->t('Parent'),
    $this->t('Region'),
    $this->t('Label'),
    [
      'data' => $this->t('Format'),
      'colspan' => 3,
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.