BatchNegotiator::applies

public BatchNegotiator::applies(RouteMatchInterface $route_match) Whether this theme negotiator should be used to set the theme. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object. Return value bool TRUE if this negotiator should be used or FALSE to let other negotiators decide. Overrides ThemeNegotiatorInterface::applies File core/modules/system/src/Theme/BatchNegotiator.php, line 45 Class BatchNegotiator Sets the active theme for the batch

BatchNegotiator::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/modules/system/src/Theme/BatchNegotiator.php, line 27 Class BatchNegotiator Sets the active theme for the batch page. Namespace Drupal\system\Theme Code protected $requestStack;

BatchMemory::getAllItems

public BatchMemory::getAllItems() Retrieves all remaining items in the queue. This is specific to Batch API and is not part of the \Drupal\Core\Queue\QueueInterface. Return value array An array of queue items. File core/lib/Drupal/Core/Queue/BatchMemory.php, line 42 Class BatchMemory Defines a batch queue handler used by the Batch API for non-progressive batches. Namespace Drupal\Core\Queue Code public function getAllItems() { $result = array(); foreach ($this->queue as $item)

BatchMemory::claimItem

public BatchMemory::claimItem($lease_time = 0) Overrides \Drupal\Core\Queue\Memory::claimItem(). Unlike \Drupal\Core\Queue\Memory::claimItem(), this method provides a default lease time of 0 (no expiration) instead of 30. This allows the item to be claimed repeatedly until it is deleted. Overrides Memory::claimItem File core/lib/Drupal/Core/Queue/BatchMemory.php, line 25 Class BatchMemory Defines a batch queue handler used by the Batch API for non-progressive batches. Namespace Drupal\C

BatchNegotiator::$batchStorage

The batch storage. Type: \Drupal\Core\Batch\BatchStorageInterface File core/modules/system/src/Theme/BatchNegotiator.php, line 20 Class BatchNegotiator Sets the active theme for the batch page. Namespace Drupal\system\Theme Code protected $batchStorage;

BatchNegotiator

Sets the active theme for the batch page. Hierarchy class \Drupal\system\Theme\BatchNegotiator implements ThemeNegotiatorInterface File core/modules/system/src/Theme/BatchNegotiator.php, line 13 Namespace Drupal\system\Theme Members Name Modifiers Type Description BatchNegotiator::$batchStorage protected property The batch storage. BatchNegotiator::$requestStack protected property The request stack. BatchNegotiator::applies public function Whether this th

BatchMemory

Defines a batch queue handler used by the Batch API for non-progressive batches. This implementation: Ensures FIFO ordering. Allows an item to be repeatedly claimed until it is actually deleted (no notion of lease time or 'expire' date), to allow multipass operations. Hierarchy class \Drupal\Core\Queue\Memory implements QueueInterfaceclass \Drupal\Core\Queue\BatchMemory Related topics Queue operations Queue items to allow later processing. File core/lib/Drupal/Core/Queue/BatchMemory.php

BatchController::create

public static BatchController::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. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service

BatchController::__construct

public BatchController::__construct($root) Constructs a new BatchController. Parameters string $root: The app root. File core/modules/system/src/Controller/BatchController.php, line 29 Class BatchController Controller routines for batch routes. Namespace Drupal\system\Controller Code public function __construct($root) { $this->root = $root; }

BatchController

Controller routines for batch routes. Hierarchy class \Drupal\system\Controller\BatchController implements ContainerInjectionInterface File core/modules/system/src/Controller/BatchController.php, line 14 Namespace Drupal\system\Controller Members Name Modifiers Type Description BatchController::$root protected property The app root. BatchController::batchPage public function Returns a system batch page. BatchController::batchPageTitle public function The