The getModulesByState(
[state
$state = 3], [sort
$sort = 'displayname'])
Return an array of modules in the specified state, only modules in the module table are returned which means that new/unscanned modules will not be returned
Tags:
return:
resulting module object array
Parameters:
state
$state
The module state (optional) (defaults = active state)