BatchController
class BatchController implements ContainerInjectionInterface (View source)
Controller routines for batch routes.
Properties
| protected string | $root | The app root. |
Methods
Constructs a new BatchController.
Instantiates a new instance of this class.
Returns a system batch page.
The _title_callback for the system.batch_page.normal route.
Details
__construct(string $root)
Constructs a new BatchController.
static
create(ContainerInterface $container)
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.
Response|array
batchPage(Request $request)
Returns a system batch page.
string
batchPageTitle()
The _title_callback for the system.batch_page.normal route.