| UserRolesAccessPolicy::__construct |
function |
core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php |
|
| UserRolesAccessPolicyTest |
class |
core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php |
Tests Drupal\Core\Session\UserRolesAccessPolicy. |
| UserRolesAccessPolicyTest.php |
file |
core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php |
|
| UserRolesAccessPolicyTest::$accessPolicy |
property |
core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php |
The access policy to test. |
| UserRolesAccessPolicyTest::$entityTypeManager |
property |
core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php |
The mocked entity type manager service. |
| UserRolesAccessPolicyTest::calculatePermissionsProvider |
function |
core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php |
Data provider for testCalculatePermissions. |
| UserRolesAccessPolicyTest::setUp |
function |
core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php |
|
| UserRolesAccessPolicyTest::testAlterPermissions |
function |
core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php |
Tests the alterPermissions method. |
| UserRolesAccessPolicyTest::testApplies |
function |
core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php |
Tests applies. |
| UserRolesAccessPolicyTest::testCalculatePermissions |
function |
core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php |
Tests the calculatePermissions method. |
| UserRolesAccessPolicyTest::testGetPersistentCacheContexts |
function |
core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php |
Tests the getPersistentCacheContexts method. |
| UserRolesAssignmentTest |
class |
core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php |
Tests that users can be assigned and unassigned roles. |
| UserRolesAssignmentTest.php |
file |
core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php |
|
| UserRolesAssignmentTest::$defaultTheme |
property |
core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php |
The theme to install as the default for testing. |
| UserRolesAssignmentTest::setUp |
function |
core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php |
|
| UserRolesAssignmentTest::testAssignAndRemoveRole |
function |
core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php |
Test that user can be assigned role and that the role can be removed again. |
| UserRolesAssignmentTest::testCreateUserWithRole |
function |
core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php |
Tests assigning a role at user creation and removing the role. |
| UserRolesAssignmentTest::userLoadAndCheckRoleAssigned |
function |
core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php |
Check role on user object. |
| UserRolesCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php |
Defines the UserRolesCacheContext service, for "per role" caching. |
| UserRolesCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php |
|
| UserRolesCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php |
Gets cacheability metadata for the context based on the parameter value. |
| UserRolesCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php |
Returns the string representation of the cache context. |
| UserRolesCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php |
Returns the label of the cache context. |
| UserRolesCacheContextTest |
class |
core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php |
Tests Drupal\Core\Cache\Context\UserRolesCacheContext. |
| UserRolesCacheContextTest.php |
file |
core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php |
|
| UserRolesCacheContextTest::testCalculatedRole |
function |
core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php |
Tests calculated role. |
| UserRolesPermissionsTest |
class |
core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php |
Test case for getting permissions from user roles. |
| UserRolesPermissionsTest.php |
file |
core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php |
|
| UserRolesPermissionsTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php |
Modules to install. |
| UserRolesPermissionsTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php |
|
| UserRolesPermissionsTest::testPermissionChange |
function |
core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php |
Tests that assigning a role grants that role's permissions. |
| UserSession::$roles |
property |
core/lib/Drupal/Core/Session/UserSession.php |
List of the roles this user has. |
| UserSession::getRoles |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns a list of roles. |
| UserSession::getRoleStorage |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the role storage object. |
| UserSessionTest::testUserGetRoles |
function |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Tests the method getRoles exclude or include locked roles based in param. |
| UserTest::testQueryInvolvingRoles |
function |
core/modules/jsonapi/tests/src/Functional/UserTest.php |
Tests good error DX when trying to filter users by role. |
| UserTest::testUserGetRoles |
function |
core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php |
Tests the method getRoles exclude or include locked roles based in param. |
| views.view.test_user_roles_rid.yml |
file |
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_roles_rid.yml |
core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_roles_rid.yml |
| ViewsConfigUpdater::needsRememberRolesUpdate |
function |
core/modules/views/src/ViewsConfigUpdater.php |
Checks if 'remember_roles' setting of an exposed filter has disabled roles. |
| ViewsConfigUpdater::processRememberRolesUpdate |
function |
core/modules/views/src/ViewsConfigUpdater.php |
Processes filters and removes disabled remember roles. |