Drupal 8  8.0.2
BatchController Class Reference
Inheritance diagram for BatchController:

Public Member Functions

 __construct ($root)
 
 batchPage (Request $request)
 
 batchPageTitle ()
 

Static Public Member Functions

static create (ContainerInterface $container)
 

Protected Attributes

 $root
 

Detailed Description

Controller routines for batch routes.

Constructor & Destructor Documentation

__construct (   $root)

Constructs a new BatchController.

Parameters
string$rootThe app root.

References Drupal\root().

Here is the call graph for this function:

Member Function Documentation

batchPage ( Request  $request)

Returns a system batch page.

Parameters
\Symfony\Component\HttpFoundation\Request$requestThe current request object.
Returns
|array A object or render array.
Exceptions
\Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException

References Drupal\root().

Here is the call graph for this function:

batchPageTitle ( )

The _title_callback for the system.batch_page.normal route.

Returns
string The page title.
static create ( ContainerInterface  $container)
static

{Instantiates a new instance of this class.This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton.

Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$containerThe service container this instance should use.
}

Implements ContainerInjectionInterface.


The documentation for this class was generated from the following file: