You are here

public function RegistrationListBuilder::buildHeader in RNG - Events and Registrations 8.2

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

Code

public function buildHeader() {
  $header['counter'] = '';
  $header['type'] = $this
    ->t('Type');
  $header['groups'] = $this
    ->t('Groups');
  $header['created'] = $this
    ->t('Created');
  return $header + parent::buildHeader();
}