You are here

service theme.registry in Drupal 10

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

Class

Drupal\Core\Theme\Registry

Tags

  • needs_destruction
14 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.
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.
LayoutTest::testThemeProvidedLayout in core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php
Tests that a layout provided by a theme has the preprocess function set.

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