function advuser_module_invoke in Advanced User 5
Invokes hook_advuser() in every module.
We cannot use module_invoke() for this, because the arguments need to be passed by reference.
2 calls to advuser_module_invoke()
File
- ./
advuser.module, line 607
Code
function advuser_module_invoke($type, &$array) {
foreach (module_list() as $module) {
$function = $module . '_advuser';
if (function_exists($function)) {
$function($type, $array);
}
}
}