You are here

public function KanbanLogListBuilder::buildHeader in Content Planner 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

modules/content_kanban/src/KanbanLogListBuilder.php, line 34

Class

KanbanLogListBuilder
Defines a class to build a listing of Kanban Log entities.

Namespace

Drupal\content_kanban

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('Kanban Log ID');
  $header['name'] = $this
    ->t('Name');
  $header['workflow'] = $this
    ->t('Workflow');
  $header['entity'] = $this
    ->t('Entity / Entity ID');
  $header['state_from'] = $this
    ->t('State from');
  $header['state_to'] = $this
    ->t('State to');
  return $header + parent::buildHeader();
}