| ChangeUserRoleBase::submitConfigurationForm |
function |
core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php |
Form submission handler. |
| ChangeUserRoleBase::__construct |
function |
core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php |
Constructs a \Drupal\Component\Plugin\PluginBase object. |
| ConfigTranslationListUiTest::doUserRoleListTest |
function |
core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php |
Tests the role listing for the translate operation. |
| ConfigTranslationRoleUiTest |
class |
core/modules/config_translation/tests/src/Functional/ConfigTranslationRoleUiTest.php |
Tests the config translation behaviors when editing roles and permissions. |
| ConfigTranslationRoleUiTest.php |
file |
core/modules/config_translation/tests/src/Functional/ConfigTranslationRoleUiTest.php |
|
| ConfigTranslationRoleUiTest::$defaultTheme |
property |
core/modules/config_translation/tests/src/Functional/ConfigTranslationRoleUiTest.php |
The theme to install as the default for testing. |
| ConfigTranslationRoleUiTest::$modules |
property |
core/modules/config_translation/tests/src/Functional/ConfigTranslationRoleUiTest.php |
Modules to install. |
| ConfigTranslationRoleUiTest::setUp |
function |
core/modules/config_translation/tests/src/Functional/ConfigTranslationRoleUiTest.php |
|
| ConfigTranslationRoleUiTest::testRoleUi |
function |
core/modules/config_translation/tests/src/Functional/ConfigTranslationRoleUiTest.php |
Test that permissions can be saved with translated role labels. |
| ContextualFiltersStringTest::$role1 |
property |
core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php |
Role id of role 1. |
| ContextualFiltersStringTest::$role2 |
property |
core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php |
Role id of role 2. |
| ContextualFiltersStringTest::testUserRoleContextualFilter |
function |
core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php |
Tests contextual filter for the user roles. |
| d6_user_role.yml |
file |
core/modules/user/migrations/d6_user_role.yml |
core/modules/user/migrations/d6_user_role.yml |
| d7_user_role.yml |
file |
core/modules/user/migrations/d7_user_role.yml |
core/modules/user/migrations/d7_user_role.yml |
| EntityListBuilderTest::$role |
property |
core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php |
The entity used to construct the EntityListBuilder. |
| EntityListBuilderTest::$roleStorage |
property |
core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php |
The role storage used for testing. |
| EntityReferenceFieldTest::assertUserRoleAutocreate |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
Asserts that the setter callback performs autocreation for user roles. |
| EntityUserRole |
class |
core/modules/user/src/Plugin/migrate/destination/EntityUserRole.php |
Provides a destination plugin for migrating user role entities. |
| EntityUserRole.php |
file |
core/modules/user/src/Plugin/migrate/destination/EntityUserRole.php |
|
| EntityUserRole::$destinationPermissions |
property |
core/modules/user/src/Plugin/migrate/destination/EntityUserRole.php |
All permissions on the destination site. |
| EntityUserRole::create |
function |
core/modules/user/src/Plugin/migrate/destination/EntityUserRole.php |
Instantiates a new instance of the implementing class using autowiring. |
| EntityUserRole::import |
function |
core/modules/user/src/Plugin/migrate/destination/EntityUserRole.php |
Import the row. |
| EntityUserRole::__construct |
function |
core/modules/user/src/Plugin/migrate/destination/EntityUserRole.php |
Builds a user role entity destination. |
| FilterDefaultConfigTest::testUpdateRoles |
function |
core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php |
Tests that changes to FilterFormat::$roles do not have an effect. |
| FilterFormat::$roles |
property |
core/modules/filter/src/Entity/FilterFormat.php |
List of role IDs to grant access to use this format on initial creation. |
| FilterFormat::getRoles |
function |
core/modules/filter/src/Entity/FilterFormat.php |
Retrieves a list of roles that are allowed to use this format. |
| FilterFormatAccessTest::testFormatRoles |
function |
core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php |
Tests if text format is available to a role. |
| FilterFormatInterface::getRoles |
function |
core/modules/filter/src/FilterFormatInterface.php |
Retrieves a list of roles that are allowed to use this format. |
| FilterFormatRepository::getFormatsByRole |
function |
core/modules/filter/src/FilterFormatRepository.php |
|
| FilterFormatRepositoryInterface::getFormatsByRole |
function |
core/modules/filter/src/FilterFormatRepositoryInterface.php |
Returns a list of text formats that are allowed for a given role. |
| FilterFormatRepositoryTest::testGetFormatsByRole |
function |
core/modules/filter/tests/src/Kernel/FilterFormatRepositoryTest.php |
@legacy-covers ::getFormatsByRole |
| FilterTest::testRememberUserRoles |
function |
core/modules/views/tests/src/Functional/Plugin/FilterTest.php |
Tests that disabled user roles of the "Remember the last selection" functionality are removed on save. |
| filter_get_formats_by_role |
function |
core/modules/filter/filter.module |
Retrieves a list of text formats that are allowed for a given role. |
| filter_get_roles_by_format |
function |
core/modules/filter/filter.module |
Retrieves a list of roles that are allowed to use a given text format. |
| HandlerFieldRoleTest |
class |
core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php |
Tests the handler of the user: role field. |
| HandlerFieldRoleTest.php |
file |
core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php |
|
| HandlerFieldRoleTest::$defaultTheme |
property |
core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php |
The theme to install as the default for testing. |
| HandlerFieldRoleTest::$testViews |
property |
core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php |
Views used by this test. |
| HandlerFieldRoleTest::testRole |
function |
core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php |
Tests the rendering of user roles in a Views field handler. |
| HandlerFilterRolesTest |
class |
core/modules/user/tests/src/Kernel/Views/HandlerFilterRolesTest.php |
Tests the roles filter handler. |
| HandlerFilterRolesTest.php |
file |
core/modules/user/tests/src/Kernel/Views/HandlerFilterRolesTest.php |
|
| HandlerFilterRolesTest::$testViews |
property |
core/modules/user/tests/src/Kernel/Views/HandlerFilterRolesTest.php |
Views used by this test. |
| HandlerFilterRolesTest::testDependencies |
function |
core/modules/user/tests/src/Kernel/Views/HandlerFilterRolesTest.php |
Tests that role filter dependencies are calculated correctly. |
| HandlerFilterRolesTest::testMissingRole |
function |
core/modules/user/tests/src/Kernel/Views/HandlerFilterRolesTest.php |
Tests that a warning is triggered if the filter references a missing role. |
| MetaEventSubscriber::currentUserHasAdminRole |
function |
core/modules/jsonapi/tests/modules/jsonapi_test_meta_events/src/EventSubscriber/MetaEventSubscriber.php |
|
| MigrateUserRoleTest |
class |
core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserRoleTest.php |
Upgrade user roles to user.role.*.yml. |
| MigrateUserRoleTest |
class |
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php |
Upgrade user roles to user.role.*.yml. |
| MigrateUserRoleTest.php |
file |
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php |
|
| MigrateUserRoleTest.php |
file |
core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserRoleTest.php |
|
| MigrateUserRoleTest::assertEntity |
function |
core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserRoleTest.php |
Asserts aspects of a user role config entity. |