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

Breadcrumb

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

function BatchController::create

Overrides ContainerInjectionInterface::create

File

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

Class

BatchController
Controller routines for batch routes.

Namespace

Drupal\system\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->getParameter('app.root'), $container->get('batch.storage'));
}

API Navigation

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