You are here

public function EventTypeListBuilder::buildHeader in Event 8

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/EventTypeListBuilder.php, line 16

Class

EventTypeListBuilder
Provides a listing of Event type entities.

Namespace

Drupal\event

Code

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