function Stable9LibraryOverrideTest::setUp
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Theme/Stable9LibraryOverrideTest.php \Drupal\KernelTests\Core\Theme\Stable9LibraryOverrideTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/Theme/Stable9LibraryOverrideTest.php \Drupal\KernelTests\Core\Theme\Stable9LibraryOverrideTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Theme/ Stable9LibraryOverrideTest.php, line 46
Class
- Stable9LibraryOverrideTest
- Tests Stable 9's library overrides.
Namespace
Drupal\KernelTests\Core\ThemeCode
protected function setUp() : void {
parent::setUp();
$this->container
->get('theme_installer')
->install([
'stable9',
]);
// Enable all core modules.
$this->enableVisibleAndStableCoreModules();
$this->themeManager = $this->container
->get('theme.manager');
$this->themeInitialization = $this->container
->get('theme.initialization');
$this->libraryDiscovery = $this->container
->get('library.discovery');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.