class TestAccessClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\TestAccessClass
Hierarchy
- class \Drupal\Tests\Core\Render\TestAccessClass
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\RenderView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestAccessClass:: |
public static | function | ||
TestAccessClass:: |
public static | function | ||
TestAccessClass:: |
public static | function | ||
TestAccessClass:: |
public static | function |