public function EnvironmentIndicatorListBuilder::buildHeader in Environment Indicator 8.3
Same name and namespace in other branches
- 4.x 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_indicatorCode
public function buildHeader() {
$row['name'] = $this
->t('Environment name');
$row['url'] = $this
->t('Environment url');
$row += parent::buildHeader();
return $row;
}