public function TeamAppListBuilder::buildHeader in Apigee Edge 8
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides AppListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- modules/
apigee_edge_teams/ src/ Entity/ ListBuilder/ TeamAppListBuilder.php, line 34
Class
- TeamAppListBuilder
- Lists _all_ team apps.
Namespace
Drupal\apigee_edge_teams\Entity\ListBuilderCode
public function buildHeader() {
$headers = [];
$headers['team'] = [
'data' => $this
->t('@team', [
'@team' => ucfirst($this->entityTypeManager
->getDefinition('team')
->getSingularLabel()),
]),
];
return $headers + parent::buildHeader();
}