Search for all
- Search 7.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| PermissionHandlerTest::$moduleHandler | property | core/ |
The mocked module handler. |
| PermissionHandlerTest::$permissionHandler | property | core/ |
The tested permission handler. |
| PermissionHandlerTest::$stringTranslation | property | core/ |
The mocked string translation. |
| PermissionHandlerTest::assertPermissions | function | core/ |
Checks that the permissions are like expected. |
| PermissionHandlerTest::mockModuleExtension | function | core/ |
Provides an extension object for a given module with a human name. |
| PermissionHandlerTest::setUp | function | core/ |
|
| PermissionHandlerTest::testBuildPermissionsSortPerModule | function | core/ |
Tests permissions sort inside a module. |
| PermissionHandlerTest::testBuildPermissionsYaml | function | core/ |
Tests permissions provided by YML files. |
| PermissionHandlerTest::testBuildPermissionsYamlCallback | function | core/ |
Tests dynamic callback permissions provided by YML files. |
| PermissionHandlerTest::testPermissionsYamlStaticAndCallback | function | core/ |
Tests a YAML file containing both static permissions and a callback. |
| Permissions | class | core/ |
Field handler to provide a list of permissions. |
| Permissions | class | core/ |
Filter handler for user roles. |
| Permissions | class | core/ |
Defines a class for dynamic permissions based on transitions. |
| Permissions.php | file | core/ |
|
| Permissions.php | file | core/ |
|
| Permissions.php | file | core/ |
|
| Permissions::$moduleHandler | property | core/ |
The module handler. |
| Permissions::$moduleHandler | property | core/ |
The module handler. |
| Permissions::$permissionHandler | property | core/ |
The permission handler. |
| Permissions::$roleStorage | property | core/ |
The role storage. |
| Permissions::create | function | core/ |
Creates an instance of the plugin. |
| Permissions::create | function | core/ |
Creates an instance of the plugin. |
| Permissions::getValueOptions | function | core/ |
Gets the value options. |
| Permissions::init | function | core/ |
Initialize the plugin. |
| Permissions::preRender | function | core/ |
Runs before any fields are rendered. |
| Permissions::query | function | core/ |
Called to add the field to a query. |
| Permissions::query | function | core/ |
Replace the configured permission with a filter by all roles that have this permission. |
| Permissions::render_item | function | core/ |
Renders a single item of a row. |
| Permissions::transitionPermissions | function | core/ |
Returns an array of transition permissions. |
| Permissions::__construct | function | core/ |
Constructs a Permissions object. |
| Permissions::__construct | function | core/ |
Constructs a \Drupal\user\Plugin\views\field\Permissions object. |
| PermissionsHashGenerator | class | core/ |
Generates and caches the permissions hash for a user. |
| PermissionsHashGenerator.php | file | core/ |
|
| PermissionsHashGenerator::$cache | property | core/ |
The cache backend interface to use for the persistent cache. |
| PermissionsHashGenerator::$privateKey | property | core/ |
The private key service. |
| PermissionsHashGenerator::$static | property | core/ |
The cache backend interface to use for the static cache. |
| PermissionsHashGenerator::doGenerate | function | core/ |
Generates a hash that uniquely identifies the user's permissions. |
| PermissionsHashGenerator::generate | function | core/ |
Cached by role, invalidated whenever permissions change. |
| PermissionsHashGenerator::hash | function | core/ |
Hashes the given string. |
| PermissionsHashGenerator::__construct | function | core/ |
Constructs a PermissionsHashGenerator object. |
| PermissionsHashGeneratorInterface | interface | core/ |
Defines the user permissions hash generator interface. |
| PermissionsHashGeneratorInterface.php | file | core/ |
|
| PermissionsHashGeneratorInterface::generate | function | core/ |
Generates a hash that uniquely identifies a user's permissions. |
| PermissionsHashGeneratorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Session\PermissionsHashGenerator[[api-linebreak]] @group Session |
| PermissionsHashGeneratorTest.php | file | core/ |
|
| PermissionsHashGeneratorTest::$account1 | property | core/ |
The mocked super user account. |
| PermissionsHashGeneratorTest::$account2 | property | core/ |
A mocked account. |
| PermissionsHashGeneratorTest::$account2Updated | property | core/ |
An "updated" mocked account. |
| PermissionsHashGeneratorTest::$account3 | property | core/ |
A different account. |
| PermissionsHashGeneratorTest::$cache | property | core/ |
The mocked cache backend. |
Pagination
- Previous page
- Page 1154
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.