You are here

public function QueueStorageEntityTypeListBuilder::buildHeader in Open Social 10.2.x

Same name and namespace in other branches
  1. 8.9 modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildHeader()
  2. 8.8 modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildHeader()
  3. 10.3.x modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildHeader()
  4. 10.0.x modules/custom/social_queue_storage/src/QueueStorageEntityTypeListBuilder.php \Drupal\social_queue_storage\QueueStorageEntityTypeListBuilder::buildHeader()
  5. 10.1.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_storage

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Type');
  $header['id'] = $this
    ->t('Machine name');
  return $header + parent::buildHeader();
}