Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::buildHeader()
  2. 9 core/lib/Drupal/Core/Entity/EntityListBuilder.php \Drupal\Core\Entity\EntityListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

See also

\Drupal\Core\Entity\EntityListBuilder::render()

19 calls to EntityListBuilder::buildHeader()
BlockContentListBuilder::buildHeader in core/modules/block_content/src/BlockContentListBuilder.php
Builds the header row for the entity listing.
BlockContentTypeListBuilder::buildHeader in core/modules/block_content/src/BlockContentTypeListBuilder.php
Builds the header row for the entity listing.
ConfigTestListBuilder::buildHeader in core/modules/config/tests/config_test/src/ConfigTestListBuilder.php
Builds the header row for the entity listing.
ConfigTranslationEntityListBuilder::buildHeader in core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php
Builds the header row for the entity listing.
ContactFormListBuilder::buildHeader in core/modules/contact/src/ContactFormListBuilder.php
Builds the header row for the entity listing.

... See full list

20 methods override EntityListBuilder::buildHeader()
BlockContentListBuilder::buildHeader in core/modules/block_content/src/BlockContentListBuilder.php
Builds the header row for the entity listing.
BlockContentTypeListBuilder::buildHeader in core/modules/block_content/src/BlockContentTypeListBuilder.php
Builds the header row for the entity listing.
ConfigTestListBuilder::buildHeader in core/modules/config/tests/config_test/src/ConfigTestListBuilder.php
Builds the header row for the entity listing.
ConfigTranslationEntityListBuilder::buildHeader in core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php
Builds the header row for the entity listing.
ContactFormListBuilder::buildHeader in core/modules/contact/src/ContactFormListBuilder.php
Builds the header row for the entity listing.

... See full list

File

core/lib/Drupal/Core/Entity/EntityListBuilder.php, line 199

Class

EntityListBuilder
Defines a generic implementation to build a listing of entities.

Namespace

Drupal\Core\Entity

Code

public function buildHeader() {
  $row['operations'] = $this
    ->t('Operations');
  return $row;
}