You are here

public function ModuleInstaller::__construct in Service Container 7

Same name and namespace in other branches
  1. 7.2 src/Extension/ModuleInstaller.php \Drupal\service_container\Extension\ModuleInstaller::__construct()

Constructs a new ModuleInstaller instance.

Parameters

\Drupal\service_container\Legacy\Drupal7 $drupal7: The Drupal7 service.

File

src/Extension/ModuleInstaller.php, line 34
Contains \Drupal\service_container\Extension\ModuleInstaller.

Class

ModuleInstaller
Provides a module installer compatible with D7.

Namespace

Drupal\service_container\Extension

Code

public function __construct(Drupal7 $drupal7) {
  $this->drupal7 = $drupal7;
}