Problem/Motivation
Currently the notification of entity type creation/deletion is hard-coded in the module handler. The reason is that this needs happen right after module schema has been installed, but before hook_install
is called.
Proposed resolution
Introduce an event to which the Entity Manager can subscribe and react and decouple the module handler from the entity manager.
Remaining tasks
- Agree on the solution
- Write a patch
- Reviews
User interface changes
None
API changes
None