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