function LayoutPluginManagerTest::setUp
Same name in this branch
- 11.x core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php \Drupal\Tests\Core\Layout\LayoutPluginManagerTest::setUp()
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php \Drupal\Tests\Core\Layout\LayoutPluginManagerTest::setUp()
- 8.9.x core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php \Drupal\Tests\Core\Layout\LayoutPluginManagerTest::setUp()
- 10 core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php \Drupal\Tests\Core\Layout\LayoutPluginManagerTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/Layout/LayoutPluginManagerTest.php \Drupal\KernelTests\Core\Layout\LayoutPluginManagerTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Layout/ LayoutPluginManagerTest.php, line 24
Class
- LayoutPluginManagerTest
- @coversDefaultClass \Drupal\Core\Layout\LayoutPluginManager @group Layout
Namespace
Drupal\KernelTests\Core\LayoutCode
protected function setUp() : void {
parent::setUp();
$this->container
->get('theme_installer')
->install([
'test_child_theme',
]);
$this->activateTheme('test_child_theme');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.