You are here

public function TestTaskWorker::ignore in Search API 8

Ignores a task event.

Parameters

\Drupal\search_api\Task\TaskEvent $event: The task event.

File

tests/search_api_test_tasks/src/TestTaskWorker.php, line 80

Class

TestTaskWorker
Provides a task worker for testing purposes.

Namespace

Drupal\search_api_test_tasks

Code

public function ignore(TaskEvent $event) {
  $this
    ->logEvent($event);
}