public function ThemeCompilerController::__construct in Theme Compiler 2.0.x
Same name and namespace in other branches
- 8 src/Controller/ThemeCompilerController.php \Drupal\theme_compiler\Controller\ThemeCompilerController::__construct()
Constructs a ThemeCompilerController object.
Parameters
\Drupal\theme_compiler\Compiler $compiler: The compiler service.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.
\Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager service.
File
- src/
Controller/ ThemeCompilerController.php, line 63
Class
- ThemeCompilerController
- Defines the controller used to compile assets provided by themes.
Namespace
Drupal\theme_compiler\ControllerCode
public function __construct(Compiler $compiler, ModuleHandlerInterface $module_handler, ThemeManagerInterface $theme_manager) {
$this->compiler = $compiler;
$this->moduleHandler = $module_handler;
$this->themeManager = $theme_manager;
}