Search for permissions
- Search 7.x for permissions
- Search 8.9.x for permissions
- Search 10.3.x for permissions
- Search 11.x for permissions
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Permissions | class | core/ |
Defines a class for dynamic permissions based on transitions. |
| Permissions | class | core/ |
Field handler to provide a list of permissions. |
| Permissions | class | core/ |
Filter handler for user roles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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 \Drupal\user\Plugin\views\field\Permissions object. |
| Permissions::__construct | function | core/ |
Constructs a 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. |
| PermissionsHashGeneratorTest::$permissionsHash | property | core/ |
The permission hash class being tested. |
| PermissionsHashGeneratorTest::$privateKey | property | core/ |
The mocked private key service. |
| PermissionsHashGeneratorTest::$staticCache | property | core/ |
The mocked cache backend. |
| PermissionsHashGeneratorTest::setUp | function | core/ |
|
| PermissionsHashGeneratorTest::testGenerate | function | core/ |
@covers ::generate[[api-linebreak]] |
| PermissionsHashGeneratorTest::testGenerateNoCache | function | core/ |
Tests the generate method with no cache returned. |
| PermissionsHashGeneratorTest::testGeneratePersistentCache | function | core/ |
@covers ::generate[[api-linebreak]] |
| PermissionsHashGeneratorTest::testGenerateStaticCache | function | core/ |
@covers ::generate[[api-linebreak]] |
| PermissionsTest | class | core/ |
@group system |
| PermissionsTest.php | file | core/ |
|
| PermissionsTest::$modules | property | core/ |
Modules to enable. |
| PermissionsTest::testAccessContentPermission | function | core/ |
Tests the 'access content' permission is provided by the System module. |
| quickedit.permissions.yml | file | core/ |
core/modules/quickedit/quickedit.permissions.yml |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.