public function QueueStorageEntityTypeListBuilder::buildHeader in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildHeader()
- 8.8 modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildHeader()
- 10.0.x modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildHeader()
- 10.1.x modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildHeader()
- 10.2.x modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::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
- modules/
custom/ social_queue_storage/ src/ QueueStorageEntityTypeListBuilder.php, line 16
Class
- QueueStorageEntityTypeListBuilder
- Provides a listing of Queue storage entity type entities.
Namespace
Drupal\social_queue_storageCode
public function buildHeader() {
$header['label'] = $this
->t('Type');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}