You are here

public static function TestAccessClass::accessResultForbidden in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\TestAccessClass::accessResultForbidden()
  2. 9 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\TestAccessClass::accessResultForbidden()

File

core/tests/Drupal/Tests/Core/Render/RendererTest.php, line 1052
Contains \Drupal\Tests\Core\Render\RendererTest.

Class

TestAccessClass

Namespace

Drupal\Tests\Core\Render

Code

public static function accessResultForbidden() {
  return AccessResult::forbidden();
}