Search for role
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Role | class | core/ |
Defines the user role entity class. |
Role | class | core/ |
Access plugin that provides role-based access control. |
Role | class | core/ |
Drupal 6 role source from database. |
Role | class | core/ |
Drupal 7 role source from database. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
AccessRoleTest | class | core/ |
Tests views role access plugin. |
AccessRoleTest.php | file | core/ |
|
AccessRoleTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
AccessRoleTest::$testViews | property | core/ |
Views used by this test. |
AccessRoleTest::setUp | function | core/ |
Sets up the test. |
AccessRoleTest::testAccessRole | function | core/ |
Tests role access plugin. |
AccessRoleTest::testRenderCaching | function | core/ |
Tests access on render caching. |
AccessRoleUITest | class | core/ |
Tests views role access plugin UI. |
AccessRoleUITest.php | file | core/ |
|
AccessRoleUITest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
AccessRoleUITest::$modules | property | core/ |
Modules to install. |
AccessRoleUITest::$testViews | property | core/ |
Views used by this test. |
AccessRoleUITest::setUp | function | core/ |
Sets up the test. |
AccessRoleUITest::testAccessRoleUI | function | core/ |
Tests the role access plugin UI. |
AccessTestBase::$normalRole | property | core/ |
Contains a role ID that is used by the normalUser. |
AccessTestBase::$webRole | property | core/ |
Contains a role ID that is used by the webUser. |
access_check.user.role | service | core/ |
Drupal\user\Access\RoleAccessCheck |
AccountInterface::ANONYMOUS_ROLE | constant | core/ |
Role ID for anonymous users. |
AccountInterface::AUTHENTICATED_ROLE | constant | core/ |
Role ID for authenticated users. |
AccountInterface::getRoles | function | core/ |
Returns a list of roles. |
AccountProxy::getRoles | function | core/ |
Returns a list of roles. |
AccountProxy::hasRole | function | core/ |
Whether a user has a certain role. |
AccountProxyTest::testHasRole | function | core/ |
@covers ::hasRole |
AccountSettingsForm::$roleStorage | property | core/ |
The role storage used when changing the admin role. |
AddRoleUser | class | core/ |
Adds a role to a user. |
AddRoleUser.php | file | core/ |
|
AddRoleUser::execute | function | core/ |
Executes the plugin. |
AddRoleUserTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Action\AddRoleUser @group user |
AddRoleUserTest.php | file | core/ |
|
AddRoleUserTest::testExecuteAddExistingRole | function | core/ |
Tests the execute method on a user with a role. |
AddRoleUserTest::testExecuteAddNonExistingRole | function | core/ |
Tests the execute method on a user without a specific role. |
AnonymousUserSessionTest::testUserGetRoles | function | core/ |
Tests the method getRoles exclude or include locked roles based in param. |
Block::$blockRoleTable | property | core/ |
Table mapping blocks to user roles. |
Block::$userRoleTable | property | core/ |
Table listing user roles. |
BlockCacheTest::testCachePerRole | function | core/ |
Tests "user.roles" cache context. |
BlockContentAccessHandlerTest::$role | property | core/ |
The test role. |
BlockTest::testBlockUserRoleDelete | function | core/ |
Tests block_user_role_delete. |
block_user_role_delete | function | core/ |
Implements hook_ENTITY_TYPE_delete() for user_role entities. |
CacheContextOptimizationTest::testUserRolesCacheContextOptimization | function | core/ |
Ensures that 'user.roles' still works when it is optimized away. |
ChangeUserRoleBase | class | core/ |
Provides a base class for operations to change a user's role. |
ChangeUserRoleBase.php | file | core/ |
|
ChangeUserRoleBase::$entityType | property | core/ |
The user role entity type. |
ChangeUserRoleBase::access | function | core/ |
Checks object access. |
ChangeUserRoleBase::buildConfigurationForm | function | core/ |
Form constructor. |
ChangeUserRoleBase::calculateDependencies | function | core/ |
Calculates dependencies for the configured plugin. |
ChangeUserRoleBase::create | function | core/ |
Creates an instance of the plugin. |
ChangeUserRoleBase::defaultConfiguration | function | core/ |
Gets default configuration for this plugin. |
ChangeUserRoleBase::submitConfigurationForm | function | core/ |
Form submission handler. |
ChangeUserRoleBase::__construct | function | core/ |
|
ConfigTranslationListUiTest::doUserRoleListTest | function | core/ |
Tests the role listing for the translate operation. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.