diff -u b/core/lib/Drupal/Core/Entity/EntityManager.php b/core/lib/Drupal/Core/Entity/EntityManager.php --- b/core/lib/Drupal/Core/Entity/EntityManager.php +++ b/core/lib/Drupal/Core/Entity/EntityManager.php @@ -961,7 +961,8 @@ * {@inheritdoc} */ public function onEntityTypeCreate(EntityTypeInterface $entity_type) { - // @todo Forward this to all interested handlers, not only storage. + // @todo Forward this to all interested handlers, not only storage, once + // iterating handlers is possible: https://www.drupal.org/node/2332857. $storage = $this->getStorage($entity_type->id()); if ($storage instanceof EntityTypeListenerInterface) { $storage->onEntityTypeCreate($entity_type); @@ -972,7 +973,8 @@ * {@inheritdoc} */ public function onEntityTypeUpdate(EntityTypeInterface $entity_type, EntityTypeInterface $original) { - // @todo Forward this to all interested handlers, not only storage. + // @todo Forward this to all interested handlers, not only storage, once + // iterating handlers is possible: https://www.drupal.org/node/2332857. $storage = $this->getStorage($entity_type->id()); if ($storage instanceof EntityTypeListenerInterface) { $storage->onEntityTypeUpdate($entity_type, $original); @@ -983,7 +985,8 @@ * {@inheritdoc} */ public function onEntityTypeDelete(EntityTypeInterface $entity_type) { - // @todo Forward this to all interested handlers, not only storage. + // @todo Forward this to all interested handlers, not only storage, once + // iterating handlers is possible: https://www.drupal.org/node/2332857. $storage = $this->getStorage($entity_type->id()); if ($storage instanceof EntityTypeListenerInterface) { $storage->onEntityTypeDelete($entity_type);