diff --git a/core/lib/Drupal/Core/Entity/EntityManager.php b/core/lib/Drupal/Core/Entity/EntityManager.php index 249939c..34feb10 100644 --- a/core/lib/Drupal/Core/Entity/EntityManager.php +++ b/core/lib/Drupal/Core/Entity/EntityManager.php @@ -232,6 +232,7 @@ public function __construct() { $this->discovery = new AnnotatedClassDiscovery('Core', 'Entity'); $this->discovery = new InfoHookDecorator($this->discovery, 'entity_info'); $this->discovery = new AlterDecorator($this->discovery, 'entity_info'); + // @todo Run process before altering, see http://drupal.org/node/1848964. $this->discovery = new ProcessDecorator($this->discovery, array($this, 'processDefinition')); $this->factory = new DefaultFactory($this);