function secure_permissions_variable in Secure Permissions 7.2
Same name and namespace in other branches
- 6 secure_permissions.module \secure_permissions_variable()
- 7 secure_permissions.module \secure_permissions_variable()
Internal variable hook.
Parameters
$name: The name of the variable to return.
Return value
The value of the variable.
7 calls to secure_permissions_variable()
- secure_permissions_form in ./
secure_permissions.module - Configuration form for the module.
- secure_permissions_form_user_admin_permissions_alter in ./
secure_permissions.module - Implements hook_form_FORM_ID_alter().
- secure_permissions_form_user_admin_roles_alter in ./
secure_permissions.module - Implements hook_form_FORM_ID_alter().
- secure_permissions_form_user_admin_role_alter in ./
secure_permissions.module - Implements hook_form_FORM_ID_alter().
- secure_permissions_menu_alter in ./
secure_permissions.module - Implements hook_menu_alter().
File
- ./
secure_permissions.module, line 41 - Secure Permissions module file.
Code
function secure_permissions_variable($name) {
if (!empty($name)) {
return variable_get($name, constant(strtoupper($name)));
}
}