You are here

service theme.initialization in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \theme.initialization
  2. 10 core/core.services.yml \theme.initialization

Class

Drupal\Core\Theme\ThemeInitialization
15 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::testSuggestionPreprocessFunctions in core/tests/Drupal/KernelTests/Core/Theme/RegistryLegacyTest.php
Tests the theme registry with theme functions with suggestions.
RegistryTest::testMultipleSubThemes in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the theme registry with multiple subthemes.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Theme\ThemeInitialization
  2. arguments:
  3. - '%app.root%'
  4. - '@theme_handler'
  5. - '@cache.bootstrap'
  6. - '@module_handler'