interface TestAccessCheckInterface
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php \Drupal\Tests\Core\Access\TestAccessCheckInterface
- 8.9.x core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php \Drupal\Tests\Core\Access\TestAccessCheckInterface
- 10 core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php \Drupal\Tests\Core\Access\TestAccessCheckInterface
Defines an interface with a defined access() method for mocking.
Hierarchy
- interface \Drupal\Core\Routing\Access\AccessInterface
- interface \Drupal\Core\Access\AccessCheckInterface extends \Drupal\Core\Routing\Access\AccessInterface
- interface \Drupal\Tests\Core\Access\TestAccessCheckInterface extends \Drupal\Core\Access\AccessCheckInterface
- interface \Drupal\Core\Access\AccessCheckInterface extends \Drupal\Core\Routing\Access\AccessInterface
Expanded class hierarchy of TestAccessCheckInterface
All classes that implement TestAccessCheckInterface
File
-
core/
tests/ Drupal/ Tests/ Core/ Access/ AccessManagerTest.php, line 553
Namespace
Drupal\Tests\Core\AccessView source
interface TestAccessCheckInterface extends AccessCheckInterface {
public function access();
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
AccessCheckInterface::applies | public | function | Declares whether the access check applies to a specific route or not. | 1 |
TestAccessCheckInterface::access | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.