constant USER_PERMISSIONS_ROLE_REGEX in User Permissions 7
Same name and namespace in other branches
- 8 user_permissions.module \USER_PERMISSIONS_ROLE_REGEX
The pattern that matches a User Permissions related role.
4 uses of USER_PERMISSIONS_ROLE_REGEX
- user_permissions_array_filter_roles in ./
user_permissions.module - Remove the User Permissions module related roles from an array.
- user_permissions_form_user_admin_permissions_alter in ./
user_permissions.module - Alters user_admin_permissions
- user_permissions_form_user_admin_roles_alter in ./
user_permissions.module - Alters user_admin_new_role
- user_permissions_form_user_profile_form_alter in ./
user_permissions.module - Implements hook_FORM_ID_alter for the user profile form.
File
- ./
user_permissions.module, line 12
Code
define('USER_PERMISSIONS_ROLE_REGEX', '/^_user_role_\\d+$/');