service theme.manager in Drupal 9
Same name and namespace in other branches
- 8 core/core.services.yml \theme.manager
Class
Drupal\Core\Theme\ThemeManager19 string references to theme.manager
- BaseThemeRequiredTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ BaseThemeRequiredTest.php - BlockListBuilder::createInstance in core/
modules/ block/ src/ BlockListBuilder.php - Instantiates a new instance of this entity handler.
- CurrentThemeCondition::create in core/
modules/ system/ src/ Plugin/ Condition/ CurrentThemeCondition.php - Creates an instance of the plugin.
- Drupal::theme in core/
lib/ Drupal.php - Gets the theme service.
- ElementInfoIntegrationTest::testElementInfoByTheme in core/
tests/ Drupal/ KernelTests/ Core/ Render/ ElementInfoIntegrationTest.php - Ensures that the element info can be altered by themes.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Theme\ThemeManager
- arguments:
- - '%app.root%'
- - '@theme.negotiator'
- - '@theme.initialization'
- - '@module_handler'
- calls:
- - [setThemeRegistry, ['@theme.registry']]