UserRoleConditionTest::$authenticated

Same name and namespace in other branches
  1. 9 core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php \Drupal\Tests\user\Kernel\Condition\UserRoleConditionTest::authenticated
  2. 10 core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php \Drupal\Tests\user\Kernel\Condition\UserRoleConditionTest::authenticated
  3. 11.x core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php \Drupal\Tests\user\Kernel\Condition\UserRoleConditionTest::authenticated

An authenticated user for testing purposes.

Type: \Drupal\user\UserInterface

File

core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php, line 37

Class

UserRoleConditionTest
Tests the user role condition.

Namespace

Drupal\Tests\user\Kernel\Condition

Code

protected $authenticated;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.