You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far it has been possible to reload corresponding module dependencies in a module via the init method. @see ModuleManagerInterface::loadModule
Unfortunately, this can lead to side effects if the desired dependency is already loaded and possibly preconfigured by a previous module.
The current behavior would reload and also initialize the dependency. As a result, any configurations in the dependency are now obsolete.
For this reason, I would like to see a new method in the interface that only loads the corresponding dependency if it is not already loaded (ModuleManagerInterface::loadModuleIfNotLoaded)
The text was updated successfully, but these errors were encountered:
Feature Request
Summary
So far it has been possible to reload corresponding module dependencies in a module via the init method. @see ModuleManagerInterface::loadModule
Unfortunately, this can lead to side effects if the desired dependency is already loaded and possibly preconfigured by a previous module.
The current behavior would reload and also initialize the dependency. As a result, any configurations in the dependency are now obsolete.
For this reason, I would like to see a new method in the interface that only loads the corresponding dependency if it is not already loaded (ModuleManagerInterface::loadModuleIfNotLoaded)
The text was updated successfully, but these errors were encountered: