public function EntityQueueListBuilder::buildHeader in Entityqueue 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()
1 call to EntityQueueListBuilder::buildHeader()
- EntityQueueListBuilder::render in src/
EntityQueueListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
File
- src/
EntityQueueListBuilder.php, line 81
Class
- EntityQueueListBuilder
- Defines a class that builds a listing of entity queues.
Namespace
Drupal\entityqueueCode
public function buildHeader() {
$header['label'] = $this
->t('Queue name');
$header['target_type'] = $this
->t('Target type');
$header['handler'] = $this
->t('Queue type');
$header['items'] = $this
->t('Items');
return $header + parent::buildHeader();
}