Search for role

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.