BlockTestBase::$adminUser
Same name in this branch
- 8.9.x core/modules/block/tests/src/Functional/BlockTestBase.php \Drupal\Tests\block\Functional\BlockTestBase::adminUser
Same name in other branches
- 9 core/modules/block/tests/src/Functional/BlockTestBase.php \Drupal\Tests\block\Functional\BlockTestBase::adminUser
- 10 core/modules/block/tests/src/Functional/BlockTestBase.php \Drupal\Tests\block\Functional\BlockTestBase::adminUser
- 11.x core/modules/block/tests/src/Functional/BlockTestBase.php \Drupal\Tests\block\Functional\BlockTestBase::adminUser
A test user with administrative privileges.
Type: \Drupal\user\UserInterface
File
-
core/
modules/ block/ src/ Tests/ BlockTestBase.php, line 45
Class
- BlockTestBase
- Provides setup and helper methods for block module tests.
Namespace
Drupal\block\TestsCode
protected $adminUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.