You are here

public function QueueListBuilder::buildHeader in Advanced Queue 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/QueueListBuilder.php, line 17

Class

QueueListBuilder
Defines the list builder for queues.

Namespace

Drupal\advancedqueue

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Queue');
  $header['jobs'] = $this
    ->t('Jobs');
  return $header + parent::buildHeader();
}