public function RendererTest::providerAccessValues in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\RendererTest::providerAccessValues()
- 10 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 719 - Contains \Drupal\Tests\Core\Render\RendererTest.
Class
- RendererTest
- @coversDefaultClass \Drupal\Core\Render\Renderer @group Render
Namespace
Drupal\Tests\Core\RenderCode
public function providerAccessValues() {
return [
[
FALSE,
],
[
TRUE,
],
[
AccessResult::forbidden(),
],
[
AccessResult::allowed(),
],
];
}