service theme.registry in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/core.services.yml \theme.registry
Class
Drupal\Core\Theme\RegistryTags
- 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
- class: Drupal\Core\Theme\Registry
- arguments:
- - '@app.root'
- - '@cache.default'
- - '@lock'
- - '@module_handler'
- - '@theme_handler'
- - '@theme.initialization'
- tags:
- - { name: needs_destruction }
- calls:
- - [setThemeManager, ['@theme.manager']]