public function ThemeCompilerController::__construct in Theme Compiler 8
Same name and namespace in other branches
- 2.0.x src/Controller/ThemeCompilerController.php \Drupal\theme_compiler\Controller\ThemeCompilerController::__construct()
Constructs a ThemeCompilerController.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Drupal's configuration factory service.
\Drupal\theme_compiler\Plugin\ThemeCompilerPluginManager $compiler_plugin_manager: The theme compiler plugin manager service provided by this module.
File
- src/
Controller/ ThemeCompilerController.php, line 40
Class
- ThemeCompilerController
- Defines the theme compiler controller.
Namespace
Drupal\theme_compiler\ControllerCode
public function __construct(ConfigFactoryInterface $config_factory, ThemeCompilerPluginManager $compiler_plugin_manager) {
$this->compilerPluginManager = $compiler_plugin_manager;
$this->configFactory = $config_factory;
}