public function EntityDefinitionUpdateManagerInterface::getEntityType
public EntityDefinitionUpdateManagerInterface::getEntityType($entity_type_id)
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.
File
- core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php, line 109
Class
- EntityDefinitionUpdateManagerInterface
- Defines an interface for managing entity definition updates.
Namespace
Drupal\Core\EntityCode
public function getEntityType($entity_type_id);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityDefinitionUpdateManagerInterface.php/function/EntityDefinitionUpdateManagerInterface::getEntityType/8.1.x