You are here

class TestAccessClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\TestAccessClass

Hierarchy

Expanded class hierarchy of TestAccessClass

File

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

Namespace

Drupal\Tests\Core\Render
View source
class TestAccessClass {
  public static function accessTrue() {
    return TRUE;
  }
  public static function accessFalse() {
    return FALSE;
  }
  public static function accessResultAllowed() {
    return AccessResult::allowed();
  }
  public static function accessResultForbidden() {
    return AccessResult::forbidden();
  }

}

Members