protected property RendererTestBase::$currentUserRole in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Render/RendererTestBase.php \Drupal\Tests\Core\Render\RendererTestBase::currentUserRole
The simulated "current" user role, for use in tests with cache contexts.
Type: string
File
- core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTestBase.php, line 95 - Contains \Drupal\Tests\Core\Render\RendererTestBase.
Class
- RendererTestBase
- Base class for the actual unit tests testing \Drupal\Core\Render\Renderer.
Namespace
Drupal\Tests\Core\RenderCode
protected $currentUserRole;