protected function BlockFormInBlockTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 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');
}