Drupal 8  8.0.2
BatchNegotiator Class Reference
Inheritance diagram for BatchNegotiator:

Public Member Functions

 __construct (BatchStorageInterface $batch_storage, RequestStack $request_stack)
 
 applies (RouteMatchInterface $route_match)
 
 determineActiveTheme (RouteMatchInterface $route_match)
 
- Public Member Functions inherited from ThemeNegotiatorInterface
 applies (RouteMatchInterface $route_match)
 
 determineActiveTheme (RouteMatchInterface $route_match)
 

Protected Attributes

 $batchStorage
 
 $requestStack
 

Detailed Description

Sets the active theme for the batch page.

Constructor & Destructor Documentation

__construct ( BatchStorageInterface  $batch_storage,
RequestStack  $request_stack 
)

Constructs a BatchNegotiator.

Parameters
\Drupal\Core\Batch\BatchStorageInterface$batch_storageThe batch storage.
\Symfony\Component\HttpFoundation\RequestStack$request_stackThe request stack used to retrieve the current request.

References Drupal\requestStack().

Here is the call graph for this function:

Member Function Documentation

applies ( RouteMatchInterface  $route_match)

{}

determineActiveTheme ( RouteMatchInterface  $route_match)

{}

References batch_get(), and Drupal\requestStack().

Here is the call graph for this function:


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