Same name and namespace in other branches
  1. 8.9.x 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/Kernel/Common/AlterTest.php
Tests if the theme has been altered.
ComponentRenderInvalidTest::testInvalidDefinitionTheme in core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php
Ensure that components in modules without schema fail validation.
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

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