You are here

public function BatchController::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Controller/BatchController.php \Drupal\system\Controller\BatchController::__construct()

Constructs a new BatchController.

Parameters

string $root: The app root.

File

core/modules/system/src/Controller/BatchController.php, line 34
Contains \Drupal\system\Controller\BatchController.

Class

BatchController
Controller routines for batch routes.

Namespace

Drupal\system\Controller

Code

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