theme.registry

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

Class

Drupal\Core\Theme\Registry

Tags

  • needs_destruction
11 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.
RegistryTest::testLegacyThemeGetRegistry in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests deprecated theme_get_registry function.
RegistryTest::testLegacyThemeRegistryRebuild in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests deprecated drupal_theme_rebuild() function.

... See full list

File

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']]

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.