public function ConfigNamesMapper::getTitle in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getTitle()
- 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getTitle()
File
- core/
modules/ config_translation/ src/ ConfigNamesMapper.php, line 180
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translationCode
public function getTitle() {
// A title from a *.config_translation.yml. Should be translated for
// display in the current page language.
return $this
->t($this->pluginDefinition['title']);
}