Search for roles
- Search 7.x for roles
- Search 9.5.x for roles
- Search 10.3.x for roles
- Search 11.x for roles
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Roles | class | core/ |
Field handler to provide a list of roles. |
| Roles | class | core/ |
Filter handler for user roles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| RolesRidTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\views\argument\RolesRid[[api-linebreak]] @group user |
| RolesRidTest.php | file | core/ |
|
| RolesRidTest::testTitleQuery | function | core/ |
Tests the titleQuery method. |
| RoleStorage | class | core/ |
Controller class for user roles. |
| RoleStorage.php | file | core/ |
|
| RoleStorage::isPermissionInRoles | function | core/ |
Returns whether a permission is in one of the passed in roles. |
| RoleStorageInterface | interface | core/ |
Defines an interface for role entity storage classes. |
| RoleStorageInterface.php | file | core/ |
|
| RoleStorageInterface::isPermissionInRoles | function | core/ |
Returns whether a permission is in one of the passed in roles. |
| Secure::$roles | property | core/ |
|
| User accounts, permissions, and roles | group | core/ |
API for user accounts, access checking, roles, and permissions. |
| User::getRoles | function | core/ |
Returns a list of roles. |
| User::getRoleStorage | function | core/ |
Returns the role storage object. |
| UserKernelTestBase::$roleStorage | property | core/ |
The entity storage for roles. |
| UserPermissionsForm::$roleStorage | property | core/ |
The role storage. |
| UserPermissionsForm::getRoles | function | core/ |
Gets the roles to display in this form. |
| UserPermissionsRoleSpecificForm | class | core/ |
Provides the user permissions administration form for a specific role. |
| UserPermissionsRoleSpecificForm.php | file | core/ |
|
| UserPermissionsRoleSpecificForm::$userRole | property | core/ |
The specific role for this form. |
| UserPermissionsRoleSpecificForm::buildForm | function | core/ |
Builds the user permissions administration form for a specific role. |
| UserPermissionsRoleSpecificForm::getRoles | function | core/ |
Gets the roles to display in this form. |
| UserRolesAssignmentTest | class | core/ |
Tests that users can be assigned and unassigned roles. |
| UserRolesAssignmentTest.php | file | core/ |
|
| UserRolesAssignmentTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| UserRolesAssignmentTest::setUp | function | core/ |
|
| UserRolesAssignmentTest::testAssignAndRemoveRole | function | core/ |
Tests that a user can be assigned a role and that the role can be removed again. |
| UserRolesAssignmentTest::testCreateUserWithRole | function | core/ |
Tests that when creating a user the role can be assigned. And that it can be removed again. |
| UserRolesAssignmentTest::userLoadAndCheckRoleAssigned | function | core/ |
Check role on user object. |
| UserRolesCacheContext | class | core/ |
Defines the UserRolesCacheContext service, for "per role" caching. |
| UserRolesCacheContext.php | file | core/ |
|
| UserRolesCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
| UserRolesCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| UserRolesCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| UserSession::$roles | property | core/ |
List of the roles this user has. |
| UserSession::getRoles | function | core/ |
Returns a list of roles. |
| UserSession::getRoleStorage | function | core/ |
Returns the role storage object. |
| UserSessionTest::testUserGetRoles | function | core/ |
Tests the method getRoles exclude or include locked roles based in param. |
| UserTest::testQueryInvolvingRoles | function | core/ |
Test good error DX when trying to filter users by role. |
| UserTest::testUserGetRoles | function | core/ |
Tests the method getRoles exclude or include locked roles based in param. |
| user_roles | function | core/ |
Retrieve an array of roles matching specified conditions. |
| views.view.test_user_roles_rid.yml | file | core/ |
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_roles_rid.yml |
Pagination
- Previous page
- Page 2
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.