You are here

public function ModuleInstaller::__construct in CiviCRM Entity 8.3

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.

Overrides ModuleInstaller::__construct

See also

\Drupal\Core\DrupalKernel

\Drupal\Core\CoreServiceProvider

File

src/ModuleInstaller.php, line 26

Class

ModuleInstaller
Class ContentUninstallValidator.

Namespace

Drupal\civicrm_entity

Code

public function __construct(ModuleInstallerInterface $module_installer, $root, ModuleHandlerInterface $module_handler, DrupalKernelInterface $kernel) {
  parent::__construct($root, $module_handler, $kernel);
  $this->moduleInstaller = $module_installer;
}