function StableLibraryOverrideTest::setUp
Same name in other branches
- 8.9.x core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php \Drupal\KernelTests\Core\Theme\StableLibraryOverrideTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Theme/ StableLibraryOverrideTest.php, line 49
Class
- StableLibraryOverrideTest
- Tests Stable's library overrides.
Namespace
Drupal\KernelTests\Core\ThemeCode
protected function setUp() : void {
parent::setUp();
$this->container
->get('theme_installer')
->install([
'stable',
]);
// 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.