You are here

protected function EntityViewDisplayEditForm::getTableHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php \Drupal\field_ui\Form\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 119
Contains \Drupal\field_ui\Form\EntityViewDisplayEditForm.

Class

EntityViewDisplayEditForm
Edit form for the EntityViewDisplay entity type.

Namespace

Drupal\field_ui\Form

Code

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