public function ConfigEntityMapper::getTypeLabel in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::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 ConfigNamesMapper::getTypeLabel
1 method overrides ConfigEntityMapper::getTypeLabel()
- ConfigFieldMapper::getTypeLabel in core/
modules/ config_translation/ src/ ConfigFieldMapper.php - Returns the label of the type of data the mapper encapsulates.
File
- core/
modules/ config_translation/ src/ ConfigEntityMapper.php, line 219 - Contains \Drupal\config_translation\ConfigEntityMapper.
Class
- ConfigEntityMapper
- Configuration mapper for configuration entities.
Namespace
Drupal\config_translationCode
public function getTypeLabel() {
$entityType = $this->entityManager
->getDefinition($this->entityType);
return $entityType
->getLabel();
}