public function GroupListBuilder::buildHeader in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Lists/GroupListBuilder.php \Drupal\rng\Lists\GroupListBuilder::buildHeader()
- 3.x src/Lists/GroupListBuilder.php \Drupal\rng\Lists\GroupListBuilder::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/ GroupListBuilder.php, line 93
Class
- GroupListBuilder
- Builds a list of registration groups.
Namespace
Drupal\rng\ListsCode
public function buildHeader() {
$header['label'] = t('Label');
$header['source'] = t('Source');
$header['description'] = t('Description');
return $header + parent::buildHeader();
}