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 225
Class
- KernelTestBase
- Base class for functional integration tests.
Namespace
Drupal\KernelTestsCode
protected bool $usesSuperUserAccessPolicy;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.