You are here

public function EntityDefinitionUpdateManagerInterface::getEntityTypes in Drupal 9

Same name and namespace in other branches
  1. 8 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();