You are here

public function EntityExtraFieldListBuilder::buildHeader in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x src/Controller/EntityExtraFieldListBuilder.php \Drupal\entity_extra_field\Controller\EntityExtraFieldListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides EntityListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

src/Controller/EntityExtraFieldListBuilder.php, line 70

Class

EntityExtraFieldListBuilder
Define entity extra field list builder.

Namespace

Drupal\entity_extra_field\Controller

Code

public function buildHeader() {
  return [
    'label' => $this
      ->t('Label'),
    'field_type' => $this
      ->t('Field Type'),
    'display_type' => $this
      ->t('Display Type'),
  ] + parent::buildHeader();
}