You are here

public function QueueStorageEntityListBuilder::buildHeader in Open Social 10.3.x

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

Class

QueueStorageEntityListBuilder
Defines a class to build a listing of Queue storage entity entities.

Namespace

Drupal\social_queue_storage

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('ID');
  $header['name'] = $this
    ->t('Type');
  $header['owner'] = $this
    ->t('Owner');
  $header['description'] = $this
    ->t('Description');
  return $header + parent::buildHeader();
}