Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| PermissionHandler::moduleProvidesPermissions | function | core/ |
Determines whether a module provides some permissions. |
| PermissionHandler::sortPermissions | function | core/ |
Sorts the given permissions by provider name and title. |
| PermissionHandler::__construct | function | core/ |
Constructs a new PermissionHandler. |
| PermissionHandlerInterface | interface | core/ |
Defines an interface to list available permissions. |
| PermissionHandlerInterface.php | file | core/ |
|
| PermissionHandlerInterface::getPermissions | function | core/ |
Gets all available permissions. |
| PermissionHandlerInterface::moduleProvidesPermissions | function | core/ |
Determines whether a module provides some permissions. |
| PermissionHandlerTest | class | core/ |
Tests the permission handler. |
| PermissionHandlerTest.php | file | core/ |
Contains \Drupal\Tests\user\Unit\PermissionHandlerTest. |
| PermissionHandlerTest::$controllerResolver | property | core/ |
The mocked controller resolver. |
| 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/ |
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. |
| 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. |
Pagination
- Previous page
- Page 945
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.