protected function LayoutBuilderQuickEditTest::setUp in Drupal 8
Same name in this branch
- 8 core/modules/layout_builder/tests/src/Functional/LayoutBuilderQuickEditTest.php \Drupal\Tests\layout_builder\Functional\LayoutBuilderQuickEditTest::setUp()
- 8 core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderQuickEditTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutBuilderQuickEditTest.php, line 31
Class
- LayoutBuilderQuickEditTest
- Tests Layout Builder integration with Quick Edit.
Namespace
Drupal\Tests\layout_builder\FunctionalCode
protected function setUp() {
parent::setUp();
// Create two nodes.
$this
->createContentType([
'type' => 'bundle_with_section_field',
'name' => 'Bundle with section field',
]);
$this
->createNode([
'type' => 'bundle_with_section_field',
]);
}