You are here

service theme.manager in Zircon Profile 8

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

Class

Drupal\Core\Theme\ThemeManager
11 string references to theme.manager
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/modules/system/src/Tests/Render/ElementInfoIntegrationTest.php
Ensures that the element info can be altered by themes.
LibraryDiscoveryIntegrationTest::activateTheme in core/modules/system/src/Tests/Asset/LibraryDiscoveryIntegrationTest.php
Activates a specified theme.

... 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. - '@request_stack'
  7. - '@module_handler'
  8. calls:
  9. - [setThemeRegistry, ['@theme.registry']]