function ConfigTranslationMapperList::buildHeader
Same name in other branches
- 9 core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::buildHeader()
- 10 core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::buildHeader()
- 11.x 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\ControllerCode
public function buildHeader() {
$row['Label'] = $this->t('Label');
$row['operations'] = $this->t('Operations');
return $row;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.