You are here

public function EnvironmentListBuilder::buildHeader in Environment 8

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/EnvironmentListBuilder.php, line 20
Contains Drupal\environment\Controller\EnvironmentListBuilder.

Class

EnvironmentListBuilder
Provides a listing of Environment entities.

Namespace

Drupal\environment\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Environment');
  $header['id'] = $this
    ->t('Machine name');
  $header['description'] = $this
    ->t('Description');
  return $header + parent::buildHeader();
}