| 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. |
| 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. |
| EntityOperationsTest::createRole |
function |
core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php |
|
| 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 |
Creates an instance of the plugin. |
| 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. |
| file_post_update_add_permissions_to_roles |
function |
core/modules/file/file.post_update.php |
Grant all non-anonymous roles the 'delete own files' permission. |
| 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 user role IDs to grant access to use this format on initial creation. |
| FilterFormatAccessTest::testFormatRoles |
function |
core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php |
Tests if text format is available to a role. |
| 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 |
|
| 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. |
| help_post_update_add_permissions_to_roles |
function |
core/modules/help/help.post_update.php |
Grant all admin roles the 'access help pages' permission. |
| LegacyUserTest::testUserRolePermissions |
function |
core/modules/user/tests/src/Kernel/LegacyUserTest.php |
Tests deprecation of user_role_permissions(). |
| 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/d7/MigrateUserRoleTest.php |
|
| MigrateUserRoleTest.php |
file |
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php |
|
| MigrateUserRoleTest::assertEntity |
function |
core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserRoleTest.php |
Asserts aspects of a user role config entity. |
| MigrateUserRoleTest::assertMessages |
function |
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php |
Assert the logged migrate messages. |
| MigrateUserRoleTest::assertNoDuplicateRoles |
function |
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php |
Asserts there are no duplicate roles. |
| MigrateUserRoleTest::assertRole |
function |
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php |
Helper function to perform assertions on a user role. |
| MigrateUserRoleTest::assertRoles |
function |
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php |
Helper to assert the user roles. |
| MigrateUserRoleTest::providerTestUserRole |
function |
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php |
Data provider for user role migration tests. |
| MigrateUserRoleTest::setUp |
function |
core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserRoleTest.php |
|
| MigrateUserRoleTest::setUp |
function |
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php |
|
| MigrateUserRoleTest::testUserRole |
function |
core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserRoleTest.php |
Tests user role migration. |
| MigrateUserRoleTest::testUserRole |
function |
core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php |
Tests user role migration. |
| PageCacheTest::testPageCacheAnonymousRolePermissions |
function |
core/modules/page_cache/tests/src/Functional/PageCacheTest.php |
Tests the automatic presence of the anonymous role's cache tag. |