function ThemeManager::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::__construct()
- 10 core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::__construct()
- 9 core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::__construct()
- 8.9.x core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::__construct()
File
-
core/
lib/ Drupal/ Core/ Theme/ ThemeManager.php, line 58
Class
- ThemeManager
- Provides the default implementation of a theme manager.
Namespace
Drupal\Core\ThemeCode
public function __construct(#[Autowire(param: 'app.root')] protected string $root, protected ThemeNegotiatorInterface $themeNegotiator, protected ThemeInitializationInterface $themeInitialization, protected ModuleHandlerInterface $moduleHandler, protected CallableResolver $callableResolver, #[AutowireLocator('theme_engine', 'engine_name')] protected ServiceCollectionInterface $themeEngines, protected KeyValueFactoryInterface $keyValueFactory, #[Autowire(service: 'cache.bootstrap')] protected CacheBackendInterface $cache) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.