public function TaskManagerInterface::setTasksBatch in Search API 8
Sets a batch for executing all pending tasks.
Parameters
array $conditions: (optional) An array of conditions to be matched for the tasks, with property names mapped to the value (or values, for multiple possibilities) that the property should have.
1 method overrides TaskManagerInterface::setTasksBatch()
- TaskManager::setTasksBatch in src/
Task/ TaskManager.php - Sets a batch for executing all pending tasks.
File
- src/
Task/ TaskManagerInterface.php, line 134
Class
- TaskManagerInterface
- Defines the interface of the Search API task manager service.
Namespace
Drupal\search_api\TaskCode
public function setTasksBatch(array $conditions = []);