protected function TaskManager::getTaskStorage in Search API 8
Returns the entity storage for search tasks.
Return value
\Drupal\Core\Entity\EntityStorageInterface The storage handler.
1 call to TaskManager::getTaskStorage()
- TaskManager::deleteTasks in src/
Task/ TaskManager.php - Deletes all tasks that fulfil a certain set of conditions.
File
- src/
Task/ TaskManager.php, line 94
Class
- TaskManager
- Provides a service for managing pending tasks.
Namespace
Drupal\search_api\TaskCode
protected function getTaskStorage() {
return $this->entityTypeManager
->getStorage('search_api_task');
}