You are here

service theme.manager in Drupal 9

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

Class

Drupal\Core\Theme\ThemeManager
19 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.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Theme\ThemeManager
  2. arguments:
  3. - '%app.root%'
  4. - '@theme.negotiator'
  5. - '@theme.initialization'
  6. - '@module_handler'
  7. calls:
  8. - [setThemeRegistry, ['@theme.registry']]