public static function ServerTaskManager::getSubscribedEvents in Search API 8
File
- src/
Task/ ServerTaskManager.php, line 51
Class
- ServerTaskManager
- Provides a service for managing pending server tasks.
Namespace
Drupal\search_api\TaskCode
public static function getSubscribedEvents() {
$events = [];
foreach (static::getSupportedTypes() as $type) {
$events['search_api.task.' . $type][] = [
'processEvent',
];
}
return $events;
}