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