theme.initialization
Same name in other branches
- 8.9.x core/core.services.yml \theme.initialization
- 10 core/core.services.yml \theme.initialization
Class
Drupal\Core\Theme\ThemeInitialization16 string references to theme.initialization
- ElementInfoIntegrationTest::testElementInfoByTheme in core/
tests/ Drupal/ KernelTests/ Core/ Render/ ElementInfoIntegrationTest.php - Ensures that the element info can be altered by themes.
- LibraryDiscoveryIntegrationTest::activateTheme in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ LibraryDiscoveryIntegrationTest.php - Activates a specified theme.
- RegistryLegacyTest::testMultipleSubThemes in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ RegistryLegacyTest.php - Tests the theme registry with theme functions and multiple subthemes.
- RegistryLegacyTest::testRegistryConstructorParameters in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ RegistryLegacyTest.php - Tests the order of registry parameters.
- RegistryLegacyTest::testSuggestionPreprocessFunctions in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ RegistryLegacyTest.php - Tests the theme registry with theme functions with suggestions.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Theme\ThemeInitialization
- arguments:
- - '%app.root%'
- - '@theme_handler'
- - '@cache.bootstrap'
- - '@module_handler'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.