protected function Stable9LibraryOverrideTest::setUp in Drupal 10
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Theme/Stable9LibraryOverrideTest.php \Drupal\KernelTests\Core\Theme\Stable9LibraryOverrideTest::setUp()
File
- core/
tests/ Drupal/ KernelTests/ Core/ Theme/ Stable9LibraryOverrideTest.php, line 29
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');
}