You are here

public function NotificationPluginInterface::notify in Search API Saved Searches 8

Notifies the search's owner of new results.

Parameters

\Drupal\search_api_saved_searches\SavedSearchInterface $search: The saved search for which to report new results.

\Drupal\search_api\Query\ResultSetInterface $results: The new results.

1 method overrides NotificationPluginInterface::notify()
Email::notify in src/Plugin/search_api_saved_searches/notification/Email.php
Notifies the search's owner of new results.

File

src/Notification/NotificationPluginInterface.php, line 99

Class

NotificationPluginInterface
Provides an interface for notification plugins.

Namespace

Drupal\search_api_saved_searches\Notification

Code

public function notify(SavedSearchInterface $search, ResultSetInterface $results);