UserRoleConditionTest::$role
A custom role for testing purposes.
Type: \Drupal\user\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;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.