protected property UserRoleConditionTest::$role in Drupal 9
Same name and namespace in other branches
- 8 core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php \Drupal\Tests\user\Kernel\Condition\UserRoleConditionTest::role
A custom role for testing purposes.
Type: \Drupal\user\Entity\RoleInterface
File
- core/
modules/ user/ tests/ src/ Kernel/ Condition/ UserRoleConditionTest.php, line 44
Class
- UserRoleConditionTest
- Tests the user role condition.
Namespace
Drupal\Tests\user\Kernel\ConditionCode
protected $role;