You are here

protected function SearchPageRepository::getQuery in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/search/src/SearchPageRepository.php \Drupal\search\SearchPageRepository::getQuery()

Returns an entity query instance.

Return value

\Drupal\Core\Entity\Query\QueryInterface The query instance.

File

core/modules/search/src/SearchPageRepository.php, line 118

Class

SearchPageRepository
Provides a repository for Search Page config entities.

Namespace

Drupal\search

Code

protected function getQuery() {
  return $this->storage
    ->getQuery();
}