You are here

protected property RendererTestBase::$currentUserRole in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\Render

Code

protected $currentUserRole;