public ModuleInstaller::__construct($root, ModuleHandlerInterface $module_handler, DrupalKernelInterface $kernel)
Constructs a new ModuleInstaller instance.
string $root: The app root.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\DrupalKernelInterface $kernel: The drupal kernel.
\Drupal\Core\CoreServiceProvider
public function __construct($root, ModuleHandlerInterface $module_handler, DrupalKernelInterface $kernel) { $this->root = $root; $this->moduleHandler = $module_handler; $this->kernel = $kernel; }
© 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!Extension!ModuleInstaller.php/function/ModuleInstaller::__construct/8.1.x