You are here

service theme.manager in Drupal 10

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

Class

Drupal\Core\Theme\ThemeManager
16 string references to theme.manager
BaseThemeRequiredTest::setUp in core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php
BatchUserAction::processBatch in core/modules/views/tests/modules/user_batch_action_test/src/Plugin/Action/BatchUserAction.php
Processes the batch item.
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
Drupal::theme in core/lib/Drupal.php
Gets the theme service.

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