public function ConfigTranslationMapperList::buildHeader in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config_translation/src/Controller/ConfigTranslationMapperList.php \Drupal\config_translation\Controller\ConfigTranslationMapperList::buildHeader()
- 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 100
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;
}