Search for all
Title | Object type | File name | Summary |
---|---|---|---|
AccessManagerTest.php | file | core/ |
Contains \Drupal\Tests\Core\Access\AccessManagerTest. |
AccessManagerTest::$accessManager | property | core/ |
The access manager to test. |
AccessManagerTest::$account | property | core/ |
The mocked account. |
AccessManagerTest::$argumentsResolverFactory | property | core/ |
The access arguments resolver. |
AccessManagerTest::$checkProvider | property | core/ |
|
AccessManagerTest::$container | property | core/ |
The dependency injection container. |
AccessManagerTest::$currentUser | property | core/ |
|
AccessManagerTest::$paramConverter | property | core/ |
The parameter converter. |
AccessManagerTest::$routeCollection | property | core/ |
The collection of routes, which are tested. |
AccessManagerTest::$routeProvider | property | core/ |
The route provider. |
AccessManagerTest::providerCheckException | function | core/ |
Data provider for testCheckException. |
AccessManagerTest::providerTestCheckConjunctions | function | core/ |
Provides data for the conjunction test. |
AccessManagerTest::setUp | function | core/ |
|
AccessManagerTest::setupAccessArgumentsResolverFactory | function | core/ |
Add default expectations to the access arguments resolver factory. |
AccessManagerTest::setupAccessChecker | function | core/ |
Adds a default access check service to the container and the access manager. |
AccessManagerTest::testCheck | function | core/ |
Tests \Drupal\Core\Access\AccessManager::check(). |
AccessManagerTest::testCheckConjunctions | function | core/ |
Tests \Drupal\Core\Access\AccessManager::check() with conjunctions. |
AccessManagerTest::testCheckException | function | core/ |
Tests that an access checker throws an exception for not allowed values. |
AccessManagerTest::testCheckNamedRoute | function | core/ |
Tests the checkNamedRoute method. |
AccessManagerTest::testCheckNamedRouteWithDefaultValue | function | core/ |
Tests the checkNamedRoute with default values. |
AccessManagerTest::testCheckNamedRouteWithNonExistingRoute | function | core/ |
Tests checkNamedRoute given an invalid/non existing route name. |
AccessManagerTest::testCheckNamedRouteWithUpcastedValues | function | core/ |
Tests the checkNamedRoute with upcasted values. |
AccessManagerTest::testCheckWithNullAccount | function | core/ |
Tests \Drupal\Core\Access\AccessManager::check() with no account specified. |
AccessManagerTest::testSetChecks | function | core/ |
Tests \Drupal\Core\Access\AccessManager::setChecks(). |
AccessManagerTest::testSetChecksWithDynamicAccessChecker | function | core/ |
Tests setChecks with a dynamic access checker. |
AccessPermissionTest | class | core/ |
Tests views perm access plugin. |
AccessPermissionTest.php | file | core/ |
|
AccessPermissionTest::$modules | property | core/ |
Modules to enable. |
AccessPermissionTest::$normalUser | property | core/ |
A user with 'views_test_data test permission' permission. |
AccessPermissionTest::$testViews | property | core/ |
|
AccessPermissionTest::$webUser | property | core/ |
A user with no special permissions. |
AccessPermissionTest::setUp | function | core/ |
|
AccessPermissionTest::testAccessPerm | function | core/ |
Tests perm access plugin. |
AccessPermissionTest::testRenderCaching | function | core/ |
Tests access on render caching. |
AccessPluginBase | class | core/ |
The base plugin to handle access control. |
AccessPluginBase.php | file | core/ |
|
AccessPluginBase::access | function | core/ |
Determine if the current user has access or not. |
AccessPluginBase::alterRouteDefinition | function | core/ |
Allows access plugins to alter the route definition of a view. |
AccessPluginBase::summaryTitle | function | core/ |
Returns the summary of the settings in the display. |
AccessResult | class | core/ |
Value object for passing an access result with cacheability metadata. |
AccessResult.php | file | core/ |
|
AccessResult::allowed | function | core/ |
Creates an AccessResultInterface object with isAllowed() === TRUE. |
AccessResult::allowedIf | function | core/ |
Creates an allowed or neutral access result. |
AccessResult::allowedIfHasPermission | function | core/ |
Creates an allowed access result if the permission is present, neutral otherwise. |
AccessResult::allowedIfHasPermissions | function | core/ |
Creates an allowed access result if the permissions are present, neutral otherwise. |
AccessResult::andIf | function | core/ |
Combine this access result with another using AND. |
AccessResult::cachePerPermissions | function | core/ |
Convenience method, adds the "user.permissions" cache context. |
AccessResult::cachePerUser | function | core/ |
Convenience method, adds the "user" cache context. |
AccessResult::forbidden | function | core/ |
Creates an AccessResultInterface object with isForbidden() === TRUE. |
AccessResult::forbiddenIf | function | core/ |
Creates a forbidden or neutral access result. |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.