You are here

constant USER_PERMISSIONS_ROLE_REGEX in User Permissions 8

Same name and namespace in other branches
  1. 7 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
Implements hook_form_FORM_ID_alter().
user_permissions_form_user_admin_roles_form_alter in ./user_permissions.module
Implements hook_form_FORM_ID_alter().
user_permissions_form_user_form_alter in ./user_permissions.module
Implements hook_form_FORM_ID_alter().

File

./user_permissions.module, line 20
Module file for user_permissions.

Code

define('USER_PERMISSIONS_ROLE_REGEX', '/^_user_role_\\d+$/');