You are here

service theme.registry in Zircon Profile 8

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

Class

Drupal\Core\Theme\Registry

Tags

  • needs_destruction
5 string references to theme.registry
ThemeTestSubscriber::onView in core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php
Ensures that the theme registry was not initialized.
theme_get_registry in core/includes/theme.inc
Gets the theme registry.
TwigSettingsTest::testTwigCacheOverride in core/modules/system/src/Tests/Theme/TwigSettingsTest.php
Ensures Twig template cache setting can be overridden.
UserFieldsTest::setUp in core/modules/user/src/Tests/UserFieldsTest.php
Performs setup tasks before each individual test method is run.
_drupal_maintenance_theme in core/includes/theme.maintenance.inc
Sets up the theming system for maintenance page.

File

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

View source
  1. class: Drupal\Core\Theme\Registry
  2. arguments:
  3. - '@app.root'
  4. - '@cache.default'
  5. - '@lock'
  6. - '@module_handler'
  7. - '@theme_handler'
  8. - '@theme.initialization'
  9. tags:
  10. - { name: needs_destruction }
  11. calls:
  12. - [setThemeManager, ['@theme.manager']]