function 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.