interface TestAccessCheckInterface

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php \Drupal\Tests\Core\Access\TestAccessCheckInterface
  2. 8.9.x core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php \Drupal\Tests\Core\Access\TestAccessCheckInterface
  3. 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

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\Access
View 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.