function LayoutBuilderSectionStorageTest::setUp
Same name in other branches
- 9 core/modules/layout_builder/tests/src/Functional/LayoutBuilderSectionStorageTest.php \Drupal\Tests\layout_builder\Functional\LayoutBuilderSectionStorageTest::setUp()
- 8.9.x core/modules/layout_builder/tests/src/Functional/LayoutBuilderSectionStorageTest.php \Drupal\Tests\layout_builder\Functional\LayoutBuilderSectionStorageTest::setUp()
- 11.x core/modules/layout_builder/tests/src/Functional/LayoutBuilderSectionStorageTest.php \Drupal\Tests\layout_builder\Functional\LayoutBuilderSectionStorageTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutBuilderSectionStorageTest.php, line 34
Class
- LayoutBuilderSectionStorageTest
- Tests the UI aspects of section storage.
Namespace
Drupal\Tests\layout_builder\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->createContentType([
'type' => 'bundle_with_section_field',
]);
$this->createNode([
'type' => 'bundle_with_section_field',
'title' => 'The first node title',
'body' => [
[
'value' => 'The first node body',
],
],
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.