ModuleInstaller::__construct

public ModuleInstaller::__construct($root, ModuleHandlerInterface $module_handler, DrupalKernelInterface $kernel)

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\DrupalKernel

\Drupal\Core\CoreServiceProvider

File

core/lib/Drupal/Core/Extension/ModuleInstaller.php, line 61

Class

ModuleInstaller
Default implementation of the module installer.

Namespace

Drupal\Core\Extension

Code

public function __construct($root, ModuleHandlerInterface $module_handler, DrupalKernelInterface $kernel) {
  $this->root = $root;
  $this->moduleHandler = $module_handler;
  $this->kernel = $kernel;
}
doc_Drupal
2016-10-29 09:29:25
Comments
Leave a Comment

Please login to continue.