You are here

protected function LayoutBuilderFieldLayoutCompatibilityTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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() : void {
  parent::setUp();
  $this->display
    ->setLayoutId('layout_twocol')
    ->save();
}