You are here

protected function SearchPageRepository::getQuery in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 123
Contains \Drupal\search\SearchPageRepository.

Class

SearchPageRepository
Provides a repository for Search Page config entities.

Namespace

Drupal\search

Code

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