You are here

function hook_user_restrictions_info in User restrictions 7

Allows modules to give information about the implemented restrictions.

Parameters

$info: An array containing information about the restrictions implemented by modules.

$context: A string containing the ID of the required information.

1 function implements hook_user_restrictions_info()

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_info in ./user_restrictions.module
Implements hook_user_restrictions_info().
3 invocations of hook_user_restrictions_info()
UserRestrictions::check in ./user_restrictions.classes.inc
Checks the user input against user restrictions.
UserRestrictions::getStatusOptions in ./user_restrictions.classes.inc
UserRestrictions::getTypeOptions in ./user_restrictions.classes.inc

File

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

Code

function hook_user_restrictions_info(&$info, &$context) {
}