Same name and namespace in other branches
- 8.9.x core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getTypeLabel()
- 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getTypeLabel()
Returns the label of the type of data the mapper encapsulates.
Return value
string The label of the type of data the mapper encapsulates.
Overrides ConfigMapperInterface::getTypeLabel
1 method overrides ConfigNamesMapper::getTypeLabel()
- ConfigEntityMapper::getTypeLabel in core/
modules/ config_translation/ src/ ConfigEntityMapper.php - Returns the label of the type of data the mapper encapsulates.
File
- core/
modules/ config_translation/ src/ ConfigNamesMapper.php, line 393
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translationCode
public function getTypeLabel() {
return $this
->getTitle();
}