function RendererTest::providerAccessValues
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\RendererTest::providerAccessValues()
- 8.9.x core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\RendererTest::providerAccessValues()
- 11.x core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\RendererTest::providerAccessValues()
Provides a list of both booleans.
Return value
array
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php, line 723
Class
- RendererTest
- @coversDefaultClass \Drupal\Core\Render\Renderer @group Render
Namespace
Drupal\Tests\Core\RenderCode
public static function providerAccessValues() {
return [
[
FALSE,
],
[
TRUE,
],
[
AccessResult::forbidden(),
],
[
AccessResult::allowed(),
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.