public ConfigFieldMapper::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 ConfigEntityMapper::getTypeLabel
File
- core/modules/config_translation/src/ConfigFieldMapper.php, line 45
Class
- ConfigFieldMapper
- Configuration mapper for fields.
Namespace
Drupal\config_translation
Code
1 2 3 4 | public function getTypeLabel() { $base_entity_info = $this ->entityManager->getDefinition( $this ->pluginDefinition[ 'base_entity_type' ]); return $this ->t( '@label fields' , array ( '@label' => $base_entity_info ->getLabel())); } |
Please login to continue.