function LayoutBuilderFieldLayoutCompatibilityTest::setUp

Same name in other branches
  1. 9 core/modules/layout_builder/tests/src/Kernel/LayoutBuilderFieldLayoutCompatibilityTest.php \Drupal\Tests\layout_builder\Kernel\LayoutBuilderFieldLayoutCompatibilityTest::setUp()
  2. 8.9.x core/modules/layout_builder/tests/src/Kernel/LayoutBuilderFieldLayoutCompatibilityTest.php \Drupal\Tests\layout_builder\Kernel\LayoutBuilderFieldLayoutCompatibilityTest::setUp()
  3. 11.x 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 27

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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.