Problem/Motivation
There are some inconsistences between configurations that have support to load info from default hooks and configs that cannot do that.
For example, if users run drush config-load they will expect no changes in the Active Store, however, if a content type is loaded, and is doens't exist before in the ActiveStore, it will be automatically available because it is provided by a default hook.
Also, it doesn't really make sense keep using default hooks since we are not really loading the config from code but from the staging area.
Proposed resolution
Replace the defaultHook implementations for rebuildHook implementations. Explicity save the objects using *_save.
Then, rename rebuildHook with saveToActiveStore, wich makes more sense for this module.
Remaining tasks
TODO
User interface changes
None
API changes
Replace defaultHook with rebuildHook.
Replace rebuildHook with saveToActiveStore.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1776646-remove-defaultHook.patch | 12.49 KB | dagmar |
Comments
Comment #1
dagmarHere is the patch
Comment #2
dagmarCommitted d0c9ff9