Same name and namespace in other branches
- 8.9.x core/core.services.yml \theme.registry
- 9 core/core.services.yml \theme.registry
Class
Drupal\Core\Theme\RegistryTags
- needs_destruction
20 string references to theme.registry
- CommentViewBuilder::createInstance in core/
modules/ comment/ src/ CommentViewBuilder.php - Instantiates a new instance of this entity handler.
- drupal_theme_rebuild in core/
includes/ theme.inc - Forces the system to rebuild the theme registry.
- EntityViewBuilder::createInstance in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Instantiates a new instance of this entity handler.
- hook_preprocess in core/
lib/ Drupal/ Core/ Render/ theme.api.php - Preprocess theme variables for templates.
- ImageStyle::flush in core/
modules/ image/ src/ Entity/ ImageStyle.php - Flushes cached media for this style.
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'
- - '@cache.bootstrap'
- - '@extension.list.module'
- tags:
- - { name: needs_destruction }
- calls:
- - [setThemeManager, ['@theme.manager']]