service theme.initialization in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \theme.initialization
- 9 core/core.services.yml \theme.initialization
Class
Drupal\Core\Theme\ThemeInitialization19 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.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Theme\ThemeInitialization
- arguments:
- - '%app.root%'
- - '@theme_handler'
- - '@cache.bootstrap'
- - '@module_handler'