public static function TestTaskWorker::getSubscribedEvents in Search API 8
File
- tests/
search_api_test_tasks/ src/ TestTaskWorker.php, line 32
Class
- TestTaskWorker
- Provides a task worker for testing purposes.
Namespace
Drupal\search_api_test_tasksCode
public static function getSubscribedEvents() {
$events['search_api.task.search_api_test_tasks.success'][] = [
'success',
];
$events['search_api.task.search_api_test_tasks.fail'][] = [
'fail',
];
$events['search_api.task.search_api_test_tasks.ignore'][] = [
'ignore',
];
return $events;
}