Search for %s
- Search 7.x for %s
- Search 8.9.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.php | file | core/ |
|
| PermissionHandler::$controllerResolver | property | core/ |
The controller resolver. |
| PermissionHandler::$moduleHandler | property | core/ |
The module handler. |
| PermissionHandler::$yamlDiscovery | property | core/ |
The YAML discovery class to find all .permissions.yml files. |
| PermissionHandler::buildPermissionsYaml | function | core/ |
Builds all permissions provided by .permissions.yml files. |
| PermissionHandler::getModuleNames | function | core/ |
Returns all module names. |
| PermissionHandler::getPermissions | function | core/ |
Gets all available permissions. |
| PermissionHandler::getYamlDiscovery | function | core/ |
Gets the YAML discovery. |
| 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/ |
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. |
Pagination
- Previous page
- Page 969
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.