You are here

service theme.registry in Drupal 9

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

Class

Drupal\Core\Theme\Registry

Tags

  • needs_destruction
9 string references to theme.registry
ClassyTest::setUp in core/modules/system/tests/src/Kernel/Render/ClassyTest.php
CommentViewBuilder::createInstance in core/modules/comment/src/CommentViewBuilder.php
Instantiates a new instance of this entity handler.
EntityViewBuilder::createInstance in core/lib/Drupal/Core/Entity/EntityViewBuilder.php
Instantiates a new instance of this entity handler.
FeedViewBuilder::createInstance in core/modules/aggregator/src/FeedViewBuilder.php
Instantiates a new instance of this entity handler.
ThemeTestSubscriber::onView in core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php
Ensures that the theme registry was not initialized.

... See full list

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. - null
  10. - '@cache.bootstrap'
  11. - '@extension.list.module'
  12. tags:
  13. - { name: needs_destruction }
  14. calls:
  15. - [setThemeManager, ['@theme.manager']]