getModules() public method
Returns the sub-modules in this module.
public array getModules ( $loadedOnly = false )$loadedOnly boolean
Whether to return the loaded sub-modules only. If this is set false, then all sub-modules registered in this module will be returned, whether they are loaded or not. Loaded modules will be returned as objects, while unloaded modules as configuration arrays. return array
The modules (indexed by their IDs).