public function TaskController::executeTasks in Search API 8
Executes all pending tasks.
1 string reference to 'TaskController::executeTasks'
File
- src/
Controller/ TaskController.php, line 62
Class
- TaskController
- Returns responses for task-related routes.
Namespace
Drupal\search_api\ControllerCode
public function executeTasks() {
$this
->getTaskManager()
->setTasksBatch();
return batch_process(Url::fromRoute('search_api.overview'));
}