BlockTestBase::$adminUser
Same name in this branch
- 8.9.x core/modules/block/src/Tests/BlockTestBase.php \Drupal\block\Tests\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/ tests/ src/ Functional/ BlockTestBase.php, line 38
Class
- BlockTestBase
- Provides setup and helper methods for block module tests.
Namespace
Drupal\Tests\block\FunctionalCode
protected $adminUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.