You are here

public function CalendarEventTypeListBuilder::buildHeader in Opigno calendar event 8

Same name and namespace in other branches
  1. 3.x src/CalendarEventTypeListBuilder.php \Drupal\opigno_calendar_event\CalendarEventTypeListBuilder::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/CalendarEventTypeListBuilder.php, line 19

Class

CalendarEventTypeListBuilder
Defines a class to build a listing of calendar event type entities.

Namespace

Drupal\opigno_calendar_event

Code

public function buildHeader() {
  $header['title'] = t('Label');
  $header['description'] = [
    'data' => t('Description'),
    'class' => [
      RESPONSIVE_PRIORITY_MEDIUM,
    ],
  ];
  return $header + parent::buildHeader();
}