5 user.module | user_module_invoke( |
6 user.module | user_module_invoke( |
7 user.module | user_module_invoke($type, &$edit, $account, |
8 user.module | user_module_invoke($type, &$edit, $account) |
Invokes hook_user() in every module.
We cannot use module_invoke() for this, because the arguments need to be passed by reference.
8 calls to user_module_invoke()
File
- modules/
user/ user.module, line 17 - Enables the user registration and login system.
Code
function user_module_invoke($type, &$array, &$user, $category = NULL) {
foreach (module_list() as $module) {
$function = $module . '_user';
if (function_exists($function)) {
$function($type, $array, $user, $category);
}
}
}
Login or register to post comments