Commit ea08d10e authored by catch's avatar catch

Issue #2659600 by dorficus, marvin_B8: Theme manager: document module handler dependency

parent c938dc00
......@@ -47,6 +47,13 @@ class ThemeManager implements ThemeManagerInterface {
*/
protected $themeInitialization;
/**
* The module handler.
*
* @var \Drupal\Core\Extension\ModuleHandlerInterface
*/
protected $moduleHandler;
/**
* The app root.
*
......@@ -64,6 +71,7 @@ class ThemeManager implements ThemeManagerInterface {
* @param \Drupal\Core\Theme\ThemeInitializationInterface $theme_initialization
* The theme initialization.
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
* The module handler.
*/
public function __construct($root, ThemeNegotiatorInterface $theme_negotiator, ThemeInitializationInterface $theme_initialization, ModuleHandlerInterface $module_handler) {
$this->root = $root;
......
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