You are here

public function TourListBuilder::buildHeader in Tour UI 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/TourListBuilder.php, line 17

Class

TourListBuilder
Provides a listing of tours.

Namespace

Drupal\tour_ui

Code

public function buildHeader() {
  $row['id'] = t('Id');
  $row['label'] = t('Label');
  $row['routes'] = t('routes');
  $row['tips'] = t('Number of tips');
  $row['operations'] = t('Operations');
  return $row;
}