public function ModuleInstaller::__construct in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/Extension/ModuleInstaller.php \Drupal\Core\Extension\ModuleInstaller::__construct()
- 8 core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php \Drupal\Core\ProxyClass\Extension\ModuleInstaller::__construct()
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Extension/ModuleInstaller.php \Drupal\Core\Extension\ModuleInstaller::__construct()
Constructs a new ModuleInstaller instance.
Parameters
string $root: The app root.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\DrupalKernelInterface $kernel: The drupal kernel.
See also
\Drupal\Core\CoreServiceProvider
File
- core/
lib/ Drupal/ Core/ Extension/ ModuleInstaller.php, line 66 - Contains \Drupal\Core\Extension\ModuleInstaller.
Class
- ModuleInstaller
- Default implementation of the module installer.
Namespace
Drupal\Core\ExtensionCode
public function __construct($root, ModuleHandlerInterface $module_handler, DrupalKernelInterface $kernel) {
$this->root = $root;
$this->moduleHandler = $module_handler;
$this->kernel = $kernel;
}