Search for roles
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 |
---|---|---|---|
UserRolesAccessPolicyTest::$accessPolicy | property | core/ |
The access policy to test. |
UserRolesAccessPolicyTest::$entityTypeManager | property | core/ |
The mocked entity type manager service. |
UserRolesAccessPolicyTest::calculatePermissionsProvider | function | core/ |
Data provider for testCalculatePermissions. |
UserRolesAccessPolicyTest::setUp | function | core/ |
|
UserRolesAccessPolicyTest::testAlterPermissions | function | core/ |
Tests the alterPermissions method. |
UserRolesAccessPolicyTest::testApplies | function | core/ |
@covers ::applies |
UserRolesAccessPolicyTest::testCalculatePermissions | function | core/ |
Tests the calculatePermissions method. |
UserRolesAccessPolicyTest::testGetPersistentCacheContexts | function | core/ |
Tests the getPersistentCacheContexts method. |
UserRolesAssignmentTest | class | core/ |
Tests that users can be assigned and unassigned roles. |
UserRolesAssignmentTest.php | file | core/ |
|
UserRolesAssignmentTest::$defaultTheme | property | core/ |
|
UserRolesAssignmentTest::setUp | function | core/ |
|
UserRolesAssignmentTest::testAssignAndRemoveRole | function | core/ |
Test that user can be assigned role and that the role can be removed again. |
UserRolesAssignmentTest::testCreateUserWithRole | function | core/ |
Tests assigning a role at user creation and removing the role. |
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/ |
|
UserRolesCacheContext::getContext | function | core/ |
|
UserRolesCacheContext::getLabel | function | core/ |
|
UserRolesCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\UserRolesCacheContext @group Cache |
UserRolesCacheContextTest.php | file | core/ |
|
UserRolesCacheContextTest::testCalculatedRole | function | core/ |
@covers ::getContext |
UserRolesPermissionsTest | class | core/ |
Test case for getting permissions from user roles. |
UserRolesPermissionsTest.php | file | core/ |
|
UserRolesPermissionsTest::$modules | property | core/ |
|
UserRolesPermissionsTest::setUp | function | core/ |
|
UserRolesPermissionsTest::testPermissionChange | function | core/ |
Tests that assigning a role grants that role's permissions. |
UserSession::$roles | property | core/ |
List of the roles this user has. |
UserSession::getRoles | function | core/ |
|
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/ |
Tests 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 3
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.