public function EntityDefinitionUpdateManagerInterface::getEntityType in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getEntityType()
Returns an entity type definition ready to be manipulated.
When needing to apply updates to existing entity type definitions, this method should always be used to retrieve a definition ready to be manipulated.
Parameters
string $entity_type_id: The entity type identifier.
Return value
\Drupal\Core\Entity\EntityTypeInterface The entity type definition.
1 method overrides EntityDefinitionUpdateManagerInterface::getEntityType()
- EntityDefinitionUpdateManager::getEntityType in core/
lib/ Drupal/ Core/ Entity/ EntityDefinitionUpdateManager.php - Returns an entity type definition ready to be manipulated.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityDefinitionUpdateManagerInterface.php, line 133
Class
- EntityDefinitionUpdateManagerInterface
- Defines an interface for managing entity definition updates.
Namespace
Drupal\Core\EntityCode
public function getEntityType($entity_type_id);