You are here

protected function NewResultsCheck::getSearchStorage in Search API Saved Searches 8

Retrieves the saved search entity storage.

Return value

\Drupal\Core\Entity\EntityStorageInterface The saved search entity storage.

File

src/Service/NewResultsCheck.php, line 70

Class

NewResultsCheck
Provides a service for checking saved searches for new results.

Namespace

Drupal\search_api_saved_searches\Service

Code

protected function getSearchStorage() {
  return $this->entityTypeManager
    ->getStorage('search_api_saved_search');
}