function EntityDefinitionUpdateManagerInterface::getEntityTypes

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getEntityTypes()
  2. 10 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getEntityTypes()
  3. 11.x core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getEntityTypes()

Returns all the entity type definitions, ready to be manipulated.

When needing to apply updates to existing entity type definitions, this method should always be used to retrieve all the definitions ready to be manipulated.

Return value

\Drupal\Core\Entity\EntityTypeInterface[] The last installed entity type definitions, keyed by the entity type ID.

1 method overrides EntityDefinitionUpdateManagerInterface::getEntityTypes()
EntityDefinitionUpdateManager::getEntityTypes in core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php
Returns all the entity type definitions, ready to be manipulated.

File

core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php, line 125

Class

EntityDefinitionUpdateManagerInterface
Defines an interface for managing entity definition updates.

Namespace

Drupal\Core\Entity

Code

public function getEntityTypes();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.