You are here

public function EnvironmentIndicatorListBuilder::buildHeader in Environment Indicator 4.x

Same name and namespace in other branches
  1. 8.3 src/EnvironmentIndicatorListBuilder.php \Drupal\environment_indicator\EnvironmentIndicatorListBuilder::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/EnvironmentIndicatorListBuilder.php, line 24

Class

EnvironmentIndicatorListBuilder
Provides a listing of environments.

Namespace

Drupal\environment_indicator

Code

public function buildHeader() {
  $row['name'] = $this
    ->t('Environment name');
  $row['url'] = $this
    ->t('Environment url');
  $row += parent::buildHeader();
  return $row;
}