UserEntityReferenceTest::$role1
A randomly-generated role for testing purposes.
Type: \Drupal\user\RoleInterface
File
-
core/
modules/ user/ tests/ src/ Kernel/ UserEntityReferenceTest.php, line 26
Class
- UserEntityReferenceTest
- Tests the user reference field functionality.
Namespace
Drupal\Tests\user\KernelCode
protected $role1;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.