You are here

function hook_user_restrictions_alter in User restrictions 7

Allows other modules to change user restrictions.

Parameters

$denied: The value of the restriction; TRUE when the restriction is enabled.

$error: The message to return to the user when the restriction is enabled.

$context: An array containing more information about the restriction being checked.

1 function implements hook_user_restrictions_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

user_restrictions_user_restrictions_alter in ./user_restrictions.module
Implements hook_user_restrictions_alter().

File

./user_restrictions.api.php, line 23
Hooks provided by the User restrictions module.

Code

function hook_user_restrictions_alter(&$denied, &$error, &$context) {
}