Search for roles
- Search 7.x for roles
- Search 9.5.x for roles
- Search 10.3.x for roles
- Search 11.x for roles
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Roles | class | core/ |
Field handler to provide a list of roles. |
| Roles | class | core/ |
Filter handler for user roles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| AccountInterface::getRoles | function | core/ |
Returns a list of roles. |
| AccountProxy::getRoles | function | core/ |
Returns a list of roles. |
| AccountSettingsForm::$roleStorage | property | core/ |
The role storage used when changing the admin role. |
| AnonymousUserSessionTest::testUserGetRoles | function | core/ |
Tests the method getRoles exclude or include locked roles based in param. |
| CacheContextOptimizationTest::testUserRolesCacheContextOptimization | function | core/ |
Ensures that 'user.roles' still works when it is optimized away. |
| cache_context.user.roles | service | core/ |
Drupal\Core\Cache\Context\UserRolesCacheContext |
| EntityListBuilderTest::$roleStorage | property | core/ |
The role storage used for testing. |
| 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_roles_by_format | function | core/ |
Retrieves a list of roles that are allowed to use a given text format. |
| 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::assertRoles | function | core/ |
Helper function to test the migration of the user roles. The user roles will be re-imported and the tests here will be repeated. |
| Permissions::$roleStorage | property | core/ |
The role storage. |
| RenderCacheTest::testUser1RolesContext | function | core/ |
Tests that user 1 has a different roles context with the same roles. |
| Role::$roleStorage | property | core/ |
The role storage. |
| Roles | class | core/ |
Field handler to provide a list of roles. |
| Roles | class | core/ |
Filter handler for user roles. |
| Roles.php | file | core/ |
|
| Roles.php | file | core/ |
|
| Roles::$database | property | core/ |
Database Service Object. |
| Roles::$roleStorage | property | core/ |
The role storage. |
| Roles::addSelfTokens | function | core/ |
Add any special tokens this field might use for itself. |
| Roles::calculateDependencies | function | core/ |
Calculates dependencies for the configured plugin. |
| Roles::create | function | core/ |
Creates an instance of the plugin. |
| Roles::create | function | core/ |
Creates an instance of the plugin. |
| Roles::documentSelfTokens | function | core/ |
Document any special tokens this field might use for itself. |
| Roles::getValueOptions | function | core/ |
Child classes should be used to override this function and set the 'value options', unless 'options callback' is defined as a valid function or static public method to generate these values. |
| Roles::init | function | core/ |
Initialize the plugin. |
| Roles::operators | function | core/ |
Override empty and not empty operator labels to be clearer for user roles. |
| Roles::preRender | function | core/ |
Runs before any fields are rendered. |
| Roles::query | function | core/ |
Called to add the field to a query. |
| Roles::render_item | function | core/ |
Renders a single item of a row. |
| Roles::__construct | function | core/ |
Constructs a \Drupal\user\Plugin\views\field\Roles object. |
| Roles::__construct | function | core/ |
Constructs a Roles object. |
| RolesRid | class | core/ |
Allow role ID(s) as argument. |
| RolesRid.php | file | core/ |
|
| RolesRid::$roleStorage | property | core/ |
The role entity storage |
| RolesRid::create | function | core/ |
Creates an instance of the plugin. |
| RolesRid::titleQuery | function | core/ |
Override for specific title lookups. |
| RolesRid::__construct | function | core/ |
Constructs a \Drupal\user\Plugin\views\argument\RolesRid object. |
| RolesRidArgumentTest | class | core/ |
Tests the handler of the user: roles argument. |
| RolesRidArgumentTest.php | file | core/ |
|
| RolesRidArgumentTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| RolesRidArgumentTest::$testViews | property | core/ |
Views used by this test. |
| RolesRidArgumentTest::testArgumentTitle | function | core/ |
Tests the generated title of a user: roles argument. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.