Search for role
Title | Object type | File name | Summary |
---|---|---|---|
BlockCacheTestCase::testCachePerRole | function | modules/ |
Test DRUPAL_CACHE_PER_ROLE. |
block_user_role_delete | function | modules/ |
Implements hook_user_role_delete(). |
DrupalWebTestCase::drupalCreateRole | function | modules/ |
Creates a role with specified permissions. |
DRUPAL_CACHE_PER_ROLE | constant | includes/ |
The block or element can change depending on the user's roles. |
FilterFormatAccessTestCase::testFormatRoles | function | modules/ |
Tests if text format is available to a role. |
filter_get_formats_by_role | function | modules/ |
Retrieves a list of text formats that are allowed for a given role. |
filter_get_roles_by_format | function | modules/ |
Retrieves a list of roles that are allowed to use a given text format. |
hook_user_role_delete | function | modules/ |
Respond to user role deletion. |
hook_user_role_insert | function | modules/ |
Respond to creation of a new user role. |
hook_user_role_presave | function | modules/ |
Act on a user role being inserted or updated. |
hook_user_role_update | function | modules/ |
Respond to updates to a user role. |
SearchCommentTestCase::$admin_role | property | modules/ |
|
SearchCommentTestCase::setRolePermissions | function | modules/ |
Set permissions for role. |
theme_user_admin_roles | function | modules/ |
Returns HTML for the role order and new role form. |
TriggerContentTestCase::$_cleanup_roles | property | modules/ |
|
TriggerOtherTestCase::$_cleanup_roles | property | modules/ |
|
UserPermissionsTestCase::testAdministratorRole | function | modules/ |
Test assigning of permissions for the administrator role. |
UserPermissionsTestCase::testUserRoleChangePermissions | function | modules/ |
Verify proper permission changes by user_role_change_permissions(). |
UserRoleAdminTestCase | class | modules/ |
Test case to test adding, editing and deleting roles. |
UserRoleAdminTestCase::$admin_user | property | modules/ |
|
UserRoleAdminTestCase::getInfo | function | modules/ |
|
UserRoleAdminTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
UserRoleAdminTestCase::testRoleAdministration | function | modules/ |
Test adding, renaming and deleting roles. |
UserRoleAdminTestCase::testRoleWeightChange | function | modules/ |
Test user role weight change operation. |
UserRolesAssignmentTestCase | class | modules/ |
Test role assignment. |
UserRolesAssignmentTestCase::$admin_user | property | modules/ |
|
UserRolesAssignmentTestCase::getInfo | function | modules/ |
|
UserRolesAssignmentTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
UserRolesAssignmentTestCase::testAssignAndRemoveRole | function | modules/ |
Tests that a user can be assigned a role and that the role can be removed again. |
UserRolesAssignmentTestCase::testCreateUserWithRole | function | modules/ |
Tests that when creating a user the role can be assigned. And that it can be removed again. |
UserRolesAssignmentTestCase::userLoadAndCheckRoleAssigned | function | modules/ |
Check role on user object. |
user_admin_role | function | modules/ |
Form to configure a single role. |
user_admin_roles | function | modules/ |
Form to re-order roles or add a new one. |
user_admin_roles_order_submit | function | modules/ |
Form submit function. Update the role weights. |
user_admin_role_delete_confirm | function | modules/ |
Form to confirm role delete operation. |
user_admin_role_delete_confirm_submit | function | modules/ |
Form submit handler for user_admin_role_delete_confirm(). |
user_admin_role_delete_submit | function | modules/ |
Form submit handler for the user_admin_role() form. |
user_admin_role_submit | function | modules/ |
Form submit handler for the user_admin_role() form. |
user_admin_role_validate | function | modules/ |
Form validation handler for the user_admin_role() form. |
user_has_role | function | modules/ |
Checks if a user has a role. |
user_multiple_role_edit | function | modules/ |
Callback function for admin mass adding/deleting a user role. |
user_roles | function | modules/ |
Retrieve an array of roles matching specified conditions. |
user_role_change_permissions | function | modules/ |
Change permissions for a user role. |
user_role_delete | function | modules/ |
Delete a user role from database. |
user_role_edit_access | function | modules/ |
Menu access callback for user role editing. |
user_role_grant_permissions | function | modules/ |
Grant permissions to a user role. |
user_role_load | function | modules/ |
Fetches a user role by role ID. |
user_role_load_by_name | function | modules/ |
Fetches a user role by role name. |
user_role_permissions | function | modules/ |
Determine the permissions for one or more roles. |
user_role_revoke_permissions | function | modules/ |
Revoke permissions from a user role. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.