Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Entity / EntityDefinitionUpdateManagerInterface.php
index 7754170dbb4410f39455ec2bd086735b35bf1b02..a219f3c046ceba8a229555990f390f657f1fa1ad 100644 (file)
@@ -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.
    *