System:Modules:registerModuleHook
From Aspen Documentation
Identifies a module as autoload_with when parent module is loaded.
Since 1.0
Contents |
Arguments
boolean registerModuleHook ([string $parent_guid = false], [string $depen_guid = false])
- parent_guid
- Module guid of the parent.
- depen_guid
- Module guid of the child to be called when parent is.
Notes
- As noted in bug 1247, a module may only have one parent when using the module hook. To establish a more direct dependency use the register.xml file.