theme.registry
Same name in other branches
- 9 core/core.services.yml \theme.registry
- 8.9.x core/core.services.yml \theme.registry
Class
Drupal\Core\Theme\RegistryTags
- needs_destruction
12 string references to theme.registry
- CommentViewBuilder::createInstance in core/
modules/ comment/ src/ CommentViewBuilder.php - Instantiates a new instance of this entity handler.
- ConfigCacheTag::__construct in core/
modules/ system/ src/ EventSubscriber/ ConfigCacheTag.php - Constructs a ConfigCacheTag object.
- EntityViewBuilder::createInstance in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Instantiates a new instance of this entity handler.
- ImageStyleTest::testFlush in core/
modules/ image/ tests/ src/ Unit/ ImageStyleTest.php - @covers ::flush
- RegistryTest::testLegacyThemeGetRegistry in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ RegistryTest.php - Tests deprecated theme_get_registry function.
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'
- 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.