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