public function MicrositeListBuilder::buildHeader in Entity Reference Hierarchy 3.x
Same name and namespace in other branches
- 8.2 modules/entity_hierarchy_microsite/src/MicrositeListBuilder.php \Drupal\entity_hierarchy_microsite\MicrositeListBuilder::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
- modules/
entity_hierarchy_microsite/ src/ MicrositeListBuilder.php, line 16
Class
- MicrositeListBuilder
- Defines a class for a list builder for microsite entities.
Namespace
Drupal\entity_hierarchy_micrositeCode
public function buildHeader() {
return [
'name' => $this
->t('Name'),
'home' => $this
->t('Home page'),
] + parent::buildHeader();
}