You are here

public function GroupListBuilder::buildHeader in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Lists/GroupListBuilder.php \Drupal\rng\Lists\GroupListBuilder::buildHeader()
  2. 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\Lists

Code

public function buildHeader() {
  $header['label'] = t('Label');
  $header['source'] = t('Source');
  $header['description'] = t('Description');
  return $header + parent::buildHeader();
}