You are here

public function EventTypeListBuilder::buildHeader in RNG - Events and Registrations 3.x

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

Class

EventTypeListBuilder
Builds a list of event config entities.

Namespace

Drupal\rng\Lists

Code

public function buildHeader() {
  $header['machine_name'] = $this
    ->t('Event type');
  return $header + parent::buildHeader();
}