SiteMaintenanceTest::$user

Same name in other branches
  1. 10 core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php \Drupal\Tests\system\Functional\System\SiteMaintenanceTest::user
  2. 11.x core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php \Drupal\Tests\system\Functional\System\SiteMaintenanceTest::user

User allowed to access site in maintenance mode.

Type: \Drupal\user\Entity\User

File

core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php, line 39

Class

SiteMaintenanceTest
Tests access to site while in maintenance mode.

Namespace

Drupal\Tests\system\Functional\System

Code

protected $user;

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