You are here

service theme.manager in Drupal 8

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

Class

Drupal\Core\Theme\ThemeManager
15 string references to theme.manager
BaseThemeDefaultDeprecationTest::setUp in core/tests/Drupal/KernelTests/Core/Theme/BaseThemeDefaultDeprecationTest.php
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.

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