theme.manager
Same name in other branches
- 8.9.x core/core.services.yml \theme.manager
- 10 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
View source
- class: Drupal\Core\Theme\ThemeManager
- arguments:
- - '%app.root%'
- - '@theme.negotiator'
- - '@theme.initialization'
- - '@module_handler'
- calls:
- - [setThemeRegistry, ['@theme.registry']]
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.