Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BatchController.php

function BatchController::__construct

Constructs a new BatchController.

File

core/modules/system/src/Controller/BatchController.php, line 23

Class

BatchController
Controller routines for batch routes.

Namespace

Drupal\system\Controller

Code

public function __construct(string $root, BatchStorageInterface $batchStorage) {
    require_once $this->root . '/core/includes/batch.inc';
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal