NodeFieldOverridesTest::$user

Same name in other branches
  1. 9 core/modules/node/tests/src/Kernel/NodeFieldOverridesTest.php \Drupal\Tests\node\Kernel\NodeFieldOverridesTest::user
  2. 8.9.x core/modules/node/tests/src/Kernel/NodeFieldOverridesTest.php \Drupal\Tests\node\Kernel\NodeFieldOverridesTest::user
  3. 11.x core/modules/node/tests/src/Kernel/NodeFieldOverridesTest.php \Drupal\Tests\node\Kernel\NodeFieldOverridesTest::user

Current logged in user.

Type: \Drupal\user\UserInterface

File

core/modules/node/tests/src/Kernel/NodeFieldOverridesTest.php, line 25

Class

NodeFieldOverridesTest
Tests node field overrides.

Namespace

Drupal\Tests\node\Kernel

Code

protected $user;

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