Search for roles
- Search 7.x for roles
- Search 8.9.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 |
---|---|---|---|
RolesRid::create | function | core/ |
Creates an instance of the plugin. |
RolesRid::titleQuery | function | core/ |
Override for specific title lookups. |
RolesRid::__construct | function | core/ |
Constructs a \Drupal\user\Plugin\views\argument\RolesRid object. |
RolesRidArgumentTest | class | core/ |
Tests the handler of the user: roles argument. |
RolesRidArgumentTest.php | file | core/ |
|
RolesRidArgumentTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
RolesRidArgumentTest::$modules | property | core/ |
Modules to enable. |
RolesRidArgumentTest::$testViews | property | core/ |
Views used by this test. |
RolesRidArgumentTest::testArgumentTitle | function | core/ |
Tests the generated title of a user: roles argument. |
RolesRidTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\views\argument\RolesRid @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/ |
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/ |
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/ |
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_post_update_update_roles | function | core/ |
Calculate role dependencies and remove non-existent permissions. |
user_roles | function | core/ |
Retrieve an array of roles matching specified conditions. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.