public function TaskManagerInterface::executeSingleTask in Search API 8
Retrieves and executes a single task.
Parameters
array $conditions: (optional) An array of conditions to be matched for the task, with property names mapped to the value (or values, for multiple possibilities) that the property should have.
Return value
bool TRUE if a task was successfully executed, FALSE if there was no matching task.
Throws
\Drupal\search_api\SearchApiException Thrown if any error occurred while processing the task.
1 method overrides TaskManagerInterface::executeSingleTask()
- TaskManager::executeSingleTask in src/
Task/ TaskManager.php - Retrieves and executes a single task.
File
- src/
Task/ TaskManagerInterface.php, line 104
Class
- TaskManagerInterface
- Defines the interface of the Search API task manager service.
Namespace
Drupal\search_api\TaskCode
public function executeSingleTask(array $conditions = []);