function BlockRenderOrderTest::setUp
Same name in other branches
- 9 core/modules/block/tests/src/Functional/BlockRenderOrderTest.php \Drupal\Tests\block\Functional\BlockRenderOrderTest::setUp()
- 10 core/modules/block/tests/src/Functional/BlockRenderOrderTest.php \Drupal\Tests\block\Functional\BlockRenderOrderTest::setUp()
- 11.x core/modules/block/tests/src/Functional/BlockRenderOrderTest.php \Drupal\Tests\block\Functional\BlockRenderOrderTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ block/ tests/ src/ Functional/ BlockRenderOrderTest.php, line 27
Class
- BlockRenderOrderTest
- Tests blocks are being rendered in order by weight.
Namespace
Drupal\Tests\block\FunctionalCode
protected function setUp() {
parent::setUp();
// Create a test user.
$end_user = $this->drupalCreateUser([
'access content',
]);
$this->drupalLogin($end_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.