public function RegistrationListBuilder::buildHeader in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Lists/RegistrationListBuilder.php \Drupal\rng\Lists\RegistrationListBuilder::buildHeader()
- 3.x src/Lists/RegistrationListBuilder.php \Drupal\rng\Lists\RegistrationListBuilder::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/ RegistrationListBuilder.php, line 105
Class
- RegistrationListBuilder
- Builds a list of registrations.
Namespace
Drupal\rng\ListsCode
public function buildHeader() {
$header['counter'] = '';
$header['type'] = $this
->t('Type');
$header['groups'] = $this
->t('Groups');
$header['created'] = $this
->t('Created');
return $header + parent::buildHeader();
}