You are here

protected static function ServerTaskManager::getSupportedTypes in Search API 8

Retrieves the task types supported by this task manager.

Return value

string[] The task types supported by this task manager.

2 calls to ServerTaskManager::getSupportedTypes()
ServerTaskManager::getSubscribedEvents in src/Task/ServerTaskManager.php
Returns an array of event names this subscriber wants to listen to.
ServerTaskManager::getTaskConditions in src/Task/ServerTaskManager.php
Gets a set of conditions for finding the tracking tasks of the given index.

File

src/Task/ServerTaskManager.php, line 67

Class

ServerTaskManager
Provides a service for managing pending server tasks.

Namespace

Drupal\search_api\Task

Code

protected static function getSupportedTypes() {
  return [
    'addIndex',
    'updateIndex',
    'removeIndex',
    'deleteItems',
    'deleteAllIndexItems',
  ];
}