Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| Permission::__construct | function | core/ |
Constructs a Permission object. |
| PermissionAccessCheck | class | core/ |
Permission access check. |
| PermissionAccessCheck.php | file | core/ |
|
| PermissionAccessCheck::access | function | core/ |
Checks access. |
| PermissionAccessCheckTest | class | core/ |
Tests Drupal\user\Access\PermissionAccessCheck. |
| PermissionAccessCheckTest.php | file | core/ |
|
| PermissionAccessCheckTest::$accessCheck | property | core/ |
The tested access checker. |
| PermissionAccessCheckTest::$container | property | core/ |
The dependency injection container. |
| PermissionAccessCheckTest::providerTestAccess | function | core/ |
Provides data for the testAccess method. |
| PermissionAccessCheckTest::setUp | function | core/ |
|
| PermissionAccessCheckTest::testAccess | function | core/ |
Tests the access check method. |
| PermissionChecker | class | core/ |
Checks permissions for an account. |
| PermissionChecker.php | file | core/ |
|
| PermissionChecker::hasPermission | function | core/ |
|
| PermissionChecker::__construct | function | core/ |
|
| PermissionCheckerInterface | interface | core/ |
Defines a permission checker interface. |
| PermissionCheckerInterface.php | file | core/ |
|
| PermissionCheckerInterface::hasPermission | function | core/ |
Checks whether an account has a permission. |
| PermissionCheckerTest | class | core/ |
Tests Drupal\Core\Session\PermissionChecker. |
| PermissionCheckerTest.php | file | core/ |
|
| PermissionCheckerTest::$account | property | core/ |
The mocked account to use for testing. |
| PermissionCheckerTest::$checker | property | core/ |
The permission checker to run tests on. |
| PermissionCheckerTest::$processor | property | core/ |
The mocked access policy processor. |
| PermissionCheckerTest::setUp | function | core/ |
|
| PermissionCheckerTest::testHasPermission | function | core/ |
Tests the hasPermission method under normal circumstances. |
| PermissionCheckerTest::testHasPermissionEmpty | function | core/ |
Tests the hasPermission method when no policy added something. |
| PermissionCheckerTest::testHasPermissionMixed | function | core/ |
Tests the hasPermission method when mixed scopes and identifiers exist. |
| PermissionCheckerTest::testHasPermissionOnlyContrib | function | core/ |
Tests the hasPermission method with only contrib scopes and identifiers. |
| PermissionFilterTest | class | core/ |
Tests the JavaScript functionality of the permission filter. |
| PermissionFilterTest.php | file | core/ |
|
| PermissionFilterTest::$defaultTheme | property | core/ |
|
| PermissionFilterTest::$modules | property | core/ |
|
| PermissionFilterTest::filterVisibleElements | function | core/ |
Removes any non-visible elements from the passed array. |
| PermissionFilterTest::setUp | function | core/ |
|
| PermissionFilterTest::testPermissionFilter | function | core/ |
Tests that filter results announcement has correct pluralization. |
| PermissionHandler | class | core/ |
Provides the available permissions based on yml files. |
| PermissionHandler.php | file | core/ |
|
| PermissionHandler::$callableResolver | property | core/ |
The callable 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/ |
|
| PermissionHandler::getYamlDiscovery | function | core/ |
Gets the YAML discovery. |
| PermissionHandler::moduleProvidesPermissions | function | core/ |
|
| 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. |
Pagination
- Previous page
- Page 1256
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.