FunctionalTestSetupTrait::$usesSuperUserAccessPolicy

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php \Drupal\Core\Test\FunctionalTestSetupTrait::usesSuperUserAccessPolicy

Set to TRUE to make user 1 a super user.

Type: bool

See also

\Drupal\Core\Session\SuperUserAccessPolicy

File

core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php, line 70

Class

FunctionalTestSetupTrait
Defines a trait for shared functional test setup functionality.

Namespace

Drupal\Core\Test

Code

protected bool $usesSuperUserAccessPolicy;

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