function ConfigNamesMapper::getTitle
Overrides ConfigMapperInterface::getTitle
1 call to ConfigNamesMapper::getTitle()
- ConfigNamesMapper::getTypeLabel in core/
modules/ config_translation/ src/ ConfigNamesMapper.php - Returns the label of the type of data the mapper encapsulates.
1 method overrides ConfigNamesMapper::getTitle()
- ConfigEntityMapper::getTitle in core/
modules/ config_translation/ src/ ConfigEntityMapper.php - Returns title of this translation page.
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']);
}