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 |
---|---|---|---|
ContextualFiltersStringTest::$role2 | property | core/ |
Role id of role 2. |
ContextualFiltersStringTest::testUserRoleContextualFilter | function | core/ |
Tests contextual filter for the user roles. |
d6_user_role.yml | file | core/ |
core/modules/user/migrations/d6_user_role.yml |
d7_user_role.yml | file | core/ |
core/modules/user/migrations/d7_user_role.yml |
EntityListBuilderTest::$role | property | core/ |
The entity used to construct the EntityListBuilder. |
EntityListBuilderTest::$roleStorage | property | core/ |
The role storage used for testing. |
EntityOperationsTest::createRole | function | core/ |
|
EntityReferenceFieldTest::assertUserRoleAutocreate | function | core/ |
Asserts that the setter callback performs autocreation for user roles. |
FilterDefaultConfigTest::testUpdateRoles | function | core/ |
Tests that changes to FilterFormat::$roles do not have an effect. |
FilterFormat::$roles | property | core/ |
List of user role IDs to grant access to use this format on initial creation. |
FilterFormatAccessTest::testFormatRoles | function | core/ |
Tests if text format is available to a role. |
filter_get_formats_by_role | function | core/ |
Retrieves a list of text formats that are allowed for a given role. |
filter_get_roles_by_format | function | core/ |
Retrieves a list of roles that are allowed to use a given text format. |
HandlerFieldRoleTest | class | core/ |
Tests the handler of the user: role field. |
HandlerFieldRoleTest.php | file | core/ |
|
HandlerFieldRoleTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
HandlerFieldRoleTest::$testViews | property | core/ |
Views used by this test. |
HandlerFieldRoleTest::testRole | function | core/ |
|
HandlerFilterRolesTest | class | core/ |
Tests the roles filter handler. |
HandlerFilterRolesTest.php | file | core/ |
|
HandlerFilterRolesTest::$testViews | property | core/ |
Views used by this test. |
HandlerFilterRolesTest::testDependencies | function | core/ |
Tests that role filter dependencies are calculated correctly. |
HandlerFilterRolesTest::testMissingRole | function | core/ |
Tests that a warning is triggered if the filter references a missing role. |
MigrateUserRoleTest | class | core/ |
Upgrade user roles to user.role.*.yml. |
MigrateUserRoleTest | class | core/ |
Upgrade user roles to user.role.*.yml. |
MigrateUserRoleTest.php | file | core/ |
|
MigrateUserRoleTest.php | file | core/ |
|
MigrateUserRoleTest::assertEntity | function | core/ |
Asserts aspects of a user role config entity. |
MigrateUserRoleTest::assertRole | function | core/ |
Helper function to perform assertions on a user role. |
MigrateUserRoleTest::assertRoles | function | core/ |
Helper to assert the user roles. |
MigrateUserRoleTest::setUp | function | core/ |
|
MigrateUserRoleTest::setUp | function | core/ |
|
MigrateUserRoleTest::testUserRole | function | core/ |
Tests user role migration. |
MigrateUserRoleTest::testUserRole | function | core/ |
Tests user role migration. |
PageCacheTest::testPageCacheAnonymousRolePermissions | function | core/ |
Tests the automatic presence of the anonymous role's cache tag. |
Permissions::$roleStorage | property | core/ |
The role storage. |
RemoveRoleUser | class | core/ |
Removes a role from a user. |
RemoveRoleUser.php | file | core/ |
|
RemoveRoleUser::execute | function | core/ |
Executes the plugin. |
RemoveRoleUserTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Action\RemoveRoleUser @group user |
RemoveRoleUserTest.php | file | core/ |
|
RemoveRoleUserTest::testExecuteRemoveExistingRole | function | core/ |
Tests the execute method on a user with a role. |
RemoveRoleUserTest::testExecuteRemoveNonExistingRole | function | core/ |
Tests the execute method on a user without a specific role. |
RenderCacheTest::testUser1RolesContext | function | core/ |
Tests that user 1 has a different roles context with the same roles. |
RendererTestBase::$currentUserRole | property | core/ |
The simulated "current" user role, for use in tests with cache contexts. |
ResourceTestBase::grantPermissionsToAnonymousRole | function | core/ |
Grants permissions to the anonymous role. |
ResourceTestBase::grantPermissionsToAuthenticatedRole | function | core/ |
Grants permissions to the authenticated role. |
ResourceTestBase::grantPermissionsToTestedRole | function | core/ |
Grants permissions to the authenticated role. |
ResourceTestBase::grantPermissionsToTestedRole | function | core/ |
Grants permissions to the tested role: anonymous or authenticated. |
ResourceTestBase::revokePermissionsFromTestedRole | function | core/ |
Revokes permissions from the authenticated role. |
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.