public function TaskManagerInterface::executeSpecificTask in Search API 8
Executes and deletes the given task.
Parameters
\Drupal\search_api\Task\TaskInterface $task: The task to execute.
Throws
\Drupal\search_api\SearchApiException Thrown if any error occurred while processing the task.
1 method overrides TaskManagerInterface::executeSpecificTask()
- TaskManager::executeSpecificTask in src/
Task/ TaskManager.php - Executes and deletes the given task.
File
- src/
Task/ TaskManagerInterface.php, line 87
Class
- TaskManagerInterface
- Defines the interface of the Search API task manager service.
Namespace
Drupal\search_api\TaskCode
public function executeSpecificTask(TaskInterface $task);