UserRoleConditionTest::$anonymous
Same name in other branches
- 9 core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php \Drupal\Tests\user\Kernel\Condition\UserRoleConditionTest::anonymous
- 8.9.x core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php \Drupal\Tests\user\Kernel\Condition\UserRoleConditionTest::anonymous
- 11.x 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 32
Class
- UserRoleConditionTest
- Tests the user role condition.
Namespace
Drupal\Tests\user\Kernel\ConditionCode
protected $anonymous;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.