You are here

protected function LayoutBuilderFieldLayoutCompatibilityTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/tests/src/Kernel/LayoutBuilderFieldLayoutCompatibilityTest.php \Drupal\Tests\layout_builder\Kernel\LayoutBuilderFieldLayoutCompatibilityTest::setUp()

Overrides LayoutBuilderCompatibilityTestBase::setUp

File

core/modules/layout_builder/tests/src/Kernel/LayoutBuilderFieldLayoutCompatibilityTest.php, line 25

Class

LayoutBuilderFieldLayoutCompatibilityTest
Ensures that Layout Builder and Field Layout are compatible with each other.

Namespace

Drupal\Tests\layout_builder\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->display
    ->setLayoutId('layout_twocol')
    ->save();
}