You are here

public function FrontendEnvironmentListBuilder::buildHeader in Build Hooks 8.2

Same name and namespace in other branches
  1. 3.x src/FrontendEnvironmentListBuilder.php \Drupal\build_hooks\FrontendEnvironmentListBuilder::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/FrontendEnvironmentListBuilder.php, line 16

Class

FrontendEnvironmentListBuilder
Provides a listing of Frontend environment entities.

Namespace

Drupal\build_hooks

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Frontend environment');
  $header['plugin'] = $this
    ->t('Type');
  $header['id'] = $this
    ->t('Machine name');
  return $header + parent::buildHeader();
}