function BlockFormInBlockTest::setUp
Same name in other branches
- 9 core/modules/block/tests/src/Functional/BlockFormInBlockTest.php \Drupal\Tests\block\Functional\BlockFormInBlockTest::setUp()
- 8.9.x core/modules/block/tests/src/Functional/BlockFormInBlockTest.php \Drupal\Tests\block\Functional\BlockFormInBlockTest::setUp()
- 11.x core/modules/block/tests/src/Functional/BlockFormInBlockTest.php \Drupal\Tests\block\Functional\BlockFormInBlockTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ block/ tests/ src/ Functional/ BlockFormInBlockTest.php, line 30
Class
- BlockFormInBlockTest
- Tests form in block caching.
Namespace
Drupal\Tests\block\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Enable our test block.
$this->drupalPlaceBlock('test_form_in_block');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.