You are here

public function ConfigTranslationMapperList::buildHeader in Drupal 8

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

Builds the header row for the mapper listing.

Return value

array A render array structure of header strings.

1 call to ConfigTranslationMapperList::buildHeader()
ConfigTranslationMapperList::render in core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php
Builds the mappers as a renderable array for table.html.twig.

File

core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php, line 102

Class

ConfigTranslationMapperList
Defines the configuration translation mapper list.

Namespace

Drupal\config_translation\Controller

Code

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