function BatchController::__construct
Same name in other branches
- 8.9.x core/modules/system/src/Controller/BatchController.php \Drupal\system\Controller\BatchController::__construct()
- 10 core/modules/system/src/Controller/BatchController.php \Drupal\system\Controller\BatchController::__construct()
- 11.x 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 29
Class
- BatchController
- Controller routines for batch routes.
Namespace
Drupal\system\ControllerCode
public function __construct($root) {
$this->root = $root;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.