interface TestAccessCheckInterface in Drupal 9
Same name and namespace in other branches
- 8 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
- interface \Drupal\Tests\Core\Access\TestAccessCheckInterface
- interface \Drupal\Core\Access\AccessCheckInterface
Expanded class hierarchy of TestAccessCheckInterface
All classes that implement TestAccessCheckInterface
File
- core/
tests/ Drupal/ Tests/ Core/ Access/ AccessManagerTest.php, line 559 - Contains \Drupal\Tests\Core\Access\AccessManagerTest.
Namespace
Drupal\Tests\Core\AccessView source
interface TestAccessCheckInterface extends AccessCheckInterface {
public function access();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AccessCheckInterface:: |
public | function | Declares whether the access check applies to a specific route or not. | 1 |
TestAccessCheckInterface:: |
public | function |