You are here

public function UpdateManagerInstall::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/update/src/Form/UpdateManagerInstall.php \Drupal\update\Form\UpdateManagerInstall::__construct()

Constructs a new UpdateManagerInstall.

Parameters

string $root: The root location under which installed projects will be saved.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

string $site_path: The site path.

File

core/modules/update/src/Form/UpdateManagerInstall.php, line 54
Contains \Drupal\update\Form\UpdateManagerInstall.

Class

UpdateManagerInstall
Configure update settings for this site.

Namespace

Drupal\update\Form

Code

public function __construct($root, ModuleHandlerInterface $module_handler, $site_path) {
  $this->root = $root;
  $this->moduleHandler = $module_handler;
  $this->sitePath = $site_path;
}