public ThemeManager::__construct($root, ThemeNegotiatorInterface $theme_negotiator, ThemeInitializationInterface $theme_initialization, ModuleHandlerInterface $module_handler)
Constructs a new ThemeManager object.
string $root: The app root.
\Drupal\Core\Theme\ThemeNegotiatorInterface $theme_negotiator: The theme negotiator.
\Drupal\Core\Theme\ThemeInitializationInterface $theme_initialization: The theme initialization.
\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; $this->themeNegotiator = $theme_negotiator; $this->themeInitialization = $theme_initialization; $this->moduleHandler = $module_handler; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!ThemeManager.php/function/ThemeManager::__construct/8.1.x