function LayoutTest::setUp

Same name in other branches
  1. 8.9.x core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php \Drupal\Tests\layout_discovery\Kernel\LayoutTest::setUp()
  2. 10 core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php \Drupal\Tests\layout_discovery\Kernel\LayoutTest::setUp()
  3. 11.x core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php \Drupal\Tests\layout_discovery\Kernel\LayoutTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php, line 30

Class

LayoutTest
Tests Layout functionality.

Namespace

Drupal\Tests\layout_discovery\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->layoutPluginManager = $this->container
        ->get('plugin.manager.core.layout');
}

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