You are here

protected property UserEntityReferenceTest::$role2 in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php \Drupal\Tests\user\Kernel\UserEntityReferenceTest::role2

A randomly-generated role for testing purposes.

Type: \Drupal\user\RoleInterface

File

core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php, line 31

Class

UserEntityReferenceTest
Tests the user reference field functionality.

Namespace

Drupal\Tests\user\Kernel

Code

protected $role2;