Commit e6182f96 authored by alexpott's avatar alexpott

Issue #2509434 by willzyx: Faulty dependency to ThemeInitialization in...

Issue #2509434 by willzyx: Faulty dependency to ThemeInitialization in Drupal\Core\Theme\ThemeManager
parent faa07d7c
......@@ -41,7 +41,9 @@ class ThemeManager implements ThemeManagerInterface {
protected $activeTheme;
/**
* @var \Drupal\Core\Theme\ThemeInitialization
* The theme initialization.
*
* @var \Drupal\Core\Theme\ThemeInitializationInterface
*/
protected $themeInitialization;
......@@ -64,13 +66,13 @@ class ThemeManager implements ThemeManagerInterface {
* The app root.
* @param \Drupal\Core\Theme\ThemeNegotiatorInterface $theme_negotiator
* The theme negotiator.
* @param \Drupal\Core\Theme\ThemeInitialization $theme_initialization
* @param \Drupal\Core\Theme\ThemeInitializationInterface $theme_initialization
* The theme initialization.
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
* The request stack.
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
*/
public function __construct($root, ThemeNegotiatorInterface $theme_negotiator, ThemeInitialization $theme_initialization, RequestStack $request_stack, ModuleHandlerInterface $module_handler) {
public function __construct($root, ThemeNegotiatorInterface $theme_negotiator, ThemeInitializationInterface $theme_initialization, RequestStack $request_stack, ModuleHandlerInterface $module_handler) {
$this->root = $root;
$this->themeNegotiator = $theme_negotiator;
$this->themeInitialization = $theme_initialization;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment