NodeAccessLanguageAwareTest::$adminUser

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

A user with permission to bypass access content.

Type: \Drupal\user\UserInterface

File

core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php, line 38

Class

NodeAccessLanguageAwareTest
Tests multilingual node access with a language-aware module.

Namespace

Drupal\Tests\node\Kernel

Code

protected $adminUser;

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