function 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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.