theme.registry
Same name and namespace in other branches
- 9 core/core.services.yml \theme.registry
- 8.9.x core/core.services.yml \theme.registry
- 11.x core/core.services.yml \theme.registry
Class
Drupal\Core\Theme\RegistryTags
- needs_destruction
4 string references to theme.registry
- EntityViewBuilder::createInstance in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Instantiates a new instance of this entity handler.
- ThemeInstaller::__construct in core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php - Constructs a new ThemeInstaller.
- theme_get_registry in core/
includes/ theme.inc - Gets the theme registry.
- _drupal_maintenance_theme in core/
includes/ theme.maintenance.inc - Sets up the theming system for maintenance page.
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.