public function EventTypeListBuilder::buildHeader in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/Lists/EventTypeListBuilder.php \Drupal\rng\Lists\EventTypeListBuilder::buildHeader()
- 3.x src/Lists/EventTypeListBuilder.php \Drupal\rng\Lists\EventTypeListBuilder::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/
Lists/ EventTypeListBuilder.php, line 79
Class
- EventTypeListBuilder
- Builds a list of event config entities.
Namespace
Drupal\rng\ListsCode
public function buildHeader() {
$header['machine_name'] = $this
->t('Event type');
return $header + parent::buildHeader();
}