KernelTestBase::$usesSuperUserAccessPolicy

Same name in other branches
  1. 10 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::usesSuperUserAccessPolicy

Set to TRUE to make user 1 a super user.

Type: bool

See also

\Drupal\Core\Session\SuperUserAccessPolicy

File

core/tests/Drupal/KernelTests/KernelTestBase.php, line 230

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

protected bool $usesSuperUserAccessPolicy;

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