You are here

public function ConfigTranslationBlockListBuilder::buildHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationBlockListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides ConfigTranslationEntityListBuilder::buildHeader

See also

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

File

core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php, line 89
Contains \Drupal\config_translation\Controller\ConfigTranslationBlockListBuilder.

Class

ConfigTranslationBlockListBuilder
Defines the config translation list builder for blocks.

Namespace

Drupal\config_translation\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Block');
  $header['theme'] = $this
    ->t('Theme');
  $header['category'] = $this
    ->t('Category');
  $header['operations'] = $this
    ->t('Operations');
  return $header;
}