public ConfigEntityMapper::getTypeName()
Returns the name of the type of data the mapper encapsulates.
Return value
string The name of the type of data the mapper encapsulates.
Overrides ConfigNamesMapper::getTypeName
File
- core/modules/config_translation/src/ConfigEntityMapper.php, line 206
Class
- ConfigEntityMapper
- Configuration mapper for configuration entities.
Namespace
Drupal\config_translation
Code
1 2 3 4 | public function getTypeName() { $entity_type_info = $this ->entityManager->getDefinition( $this ->entityType); return $entity_type_info ->getLabel(); } |
Please login to continue.