You are here

protected property UserRoleConditionTest::$role in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/src/Tests/Condition/UserRoleConditionTest.php \Drupal\user\Tests\Condition\UserRoleConditionTest::role

A custom role for testing purposes.

Type: \Drupal\user\Entity\RoleInterface

File

core/modules/user/src/Tests/Condition/UserRoleConditionTest.php, line 49
Contains \Drupal\user\Tests\Condition\UserRoleConditionTest.

Class

UserRoleConditionTest
Tests the user role condition.

Namespace

Drupal\user\Tests\Condition

Code

protected $role;