Search for roles

  1. Search 9.5.x for roles
  2. Search 8.9.x for roles
  3. Search 10.3.x for roles
  4. Search 11.x for roles
  5. Other projects
Title Object type File name Summary
FilterFormatAccessTestCase::testFormatRoles function modules/filter/filter.test Tests if text format is available to a 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.
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
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_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_roles function modules/user/user.module Retrieve an array of roles matching specified conditions.

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