Same name and namespace in other branches
  1. 8.9.x core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getType()
  2. 9 core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getType()

Gets the entity type ID from this mapper.

Return value

string The entity type ID.

Overrides ConfigEntityMapperInterface::getType

File

core/modules/config_translation/src/ConfigEntityMapper.php, line 174

Class

ConfigEntityMapper
Configuration mapper for configuration entities.

Namespace

Drupal\config_translation

Code

public function getType() : string {
  return $this->entityType;
}