public function DeploymentListBuilder::buildHeader in Build Hooks 8.2
Same name and namespace in other branches
- 3.x src/DeploymentListBuilder.php \Drupal\build_hooks\DeploymentListBuilder::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/
DeploymentListBuilder.php, line 16
Class
- DeploymentListBuilder
- Defines a list builder for deployments.
Namespace
Drupal\build_hooksCode
public function buildHeader() {
return [
'label' => $this
->t('Label'),
'environment' => $this
->t('Environment'),
'status' => $this
->t('Status'),
] + parent::buildHeader();
}