function TestController::accessDeny

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php \Drupal\Tests\Core\Access\TestController::accessDeny()
  2. 8.9.x core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php \Drupal\Tests\Core\Access\TestController::accessDeny()
  3. 11.x core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php \Drupal\Tests\Core\Access\TestController::accessDeny()

File

core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php, line 148

Class

TestController

Namespace

Drupal\Tests\Core\Access

Code

public function accessDeny() {
    return AccessResult::neutral();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.