protected property UserRoleConditionTest::$role in Zircon Profile 8
Same name and namespace in other branches
- 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\ConditionCode
protected $role;