StyleSerializerEntityTest::$adminUser

A user with permissions to look at test entity and configure views.

Type: \Drupal\user\Entity\User|false

See also

\Drupal\Tests\user\Traits\UserCreationTrait::createUser

File

core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.php, line 75

Class

StyleSerializerEntityTest
Tests the serializer style plugin.

Namespace

Drupal\Tests\rest\Functional\Views

Code

protected $adminUser;

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