You are here

function search_api_saved_searches_cron in Search API Saved Searches 8

Same name and namespace in other branches
  1. 7 search_api_saved_searches.module \search_api_saved_searches_cron()

Implements hook_cron().

File

./search_api_saved_searches.module, line 25
Allows visitors to bookmark searches and get notifications for new results.

Code

function search_api_saved_searches_cron() {
  \Drupal::getContainer()
    ->get('search_api_saved_searches.new_results_check')
    ->checkAll();
}