You are here

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()
advuser_admin_filters in ./advuser.module
advuser_admin_users_operations in ./advuser.module

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);
    }
  }
}