You are here

public function ConfigTranslationEntityListBuilder::buildHeader in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilder::buildHeader()
  2. 9 core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilder::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()

1 call to ConfigTranslationEntityListBuilder::buildHeader()
ConfigTranslationFieldListBuilder::buildHeader in core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php
Builds the header row for the entity listing.
2 methods override ConfigTranslationEntityListBuilder::buildHeader()
ConfigTranslationBlockListBuilder::buildHeader in core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php
Builds the header row for the entity listing.
ConfigTranslationFieldListBuilder::buildHeader in core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php
Builds the header row for the entity listing.

File

core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php, line 74

Class

ConfigTranslationEntityListBuilder
Defines the configuration translation list builder for entities.

Namespace

Drupal\config_translation\Controller

Code

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