You are here

service theme.initialization in Drupal 10

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

Class

Drupal\Core\Theme\ThemeInitialization
19 string references to theme.initialization
AlterTest::testDrupalAlter in core/modules/system/tests/src/Functional/Common/AlterTest.php
Tests if the theme has been altered.
DisplayPageTest::testEmptyRow in core/modules/views/tests/src/Kernel/Plugin/DisplayPageTest.php
Tests the templates with empty rows.
ElementInfoIntegrationTest::testElementInfoByTheme in core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php
Ensures that the element info can be altered by themes.
HistoryTimestampTest::setUp in core/modules/history/tests/src/Kernel/Views/HistoryTimestampTest.php
LibraryDiscoveryIntegrationTest::activateTheme in core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php
Activates a specified theme.

... 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'