StyleSerializerEntityTest::$adminUser

Same name in other branches
  1. 10 core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.php \Drupal\Tests\rest\Functional\Views\StyleSerializerEntityTest::adminUser

A user with administrative privileges 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 65

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.