theme.registry
Same name and namespace in other branches
- 11.x core/core.services.yml \theme.registry
- 10 core/core.services.yml \theme.registry
- 9 core/core.services.yml \theme.registry
- 8.9.x core/core.services.yml \theme.registry
Class
Drupal\Core\Theme\RegistryTags
- needs_destruction
8 string references to theme.registry
- CommentViewBuilder::createInstance in core/
modules/ comment/ src/ CommentViewBuilder.php - EntityViewBuilder::createInstance in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - ImageStyleTest::testFlush in core/
modules/ image/ tests/ src/ Unit/ ImageStyleTest.php - Tests flush.
- ThemeDeprecationTest::testTemplatePreprocessIncludes in core/
modules/ system/ tests/ src/ Kernel/ Theme/ ThemeDeprecationTest.php - Tests deprecations around template_preprocess functions and include files.
- ThemeInstaller::resetSystem in core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php - Resets some other systems like rebuilding the route information or caches.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Theme\Registry
- arguments:
- - '%app.root%'
- - '@cache.default'
- - '@lock'
- - '@module_handler'
- - '@theme_handler'
- - '@theme.initialization'
- - '@cache.bootstrap'
- - '@extension.list.module'
- - '@kernel'
- - null
- - '@keyvalue'
- tags:
- - { name: needs_destruction }
- calls:
- - [setThemeManager, ['@theme.manager']]
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.