This pr introduces an additional module state: HooksDisabled. In some situations it makes sense to disable a module hooks (mostly before deleting or when updating the module) and this state would allow reflecting the module status appropriately.
What this PR does / why we need it
Thir pr adds an additional module state HooksDisabled and updates a module state accordingly when the moduleManager's DisableModuleHooks method is invocated.
Overview
This pr introduces an additional module state:
HooksDisabled
. In some situations it makes sense to disable a module hooks (mostly before deleting or when updating the module) and this state would allow reflecting the module status appropriately.What this PR does / why we need it
Thir pr adds an additional module state
HooksDisabled
and updates a module state accordingly when the moduleManager'sDisableModuleHooks
method is invocated.Special notes for your reviewer