You are here

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

Retrieves the saved search type entity storage.

Return value

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

File

src/Service/NewResultsCheck.php, line 80

Class

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

Namespace

Drupal\search_api_saved_searches\Service

Code

protected function getSearchTypeStorage() {
  return $this->entityTypeManager
    ->getStorage('search_api_saved_search_type');
}