X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FEntity%2FEntityDefinitionUpdateManagerInterface.php;h=a219f3c046ceba8a229555990f390f657f1fa1ad;hp=7754170dbb4410f39455ec2bd086735b35bf1b02;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php b/web/core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php index 7754170db..a219f3c04 100644 --- a/web/core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php +++ b/web/core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php @@ -108,6 +108,18 @@ interface EntityDefinitionUpdateManagerInterface { */ public function getEntityType($entity_type_id); + /** + * 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 \Drupal\Core\Entity\EntityTypeInterface[] + * The last installed entity type definitions, keyed by the entity type ID. + */ + public function getEntityTypes(); + /** * Installs a new entity type definition. *