function SearchPageRepository::getQuery

Same name in other branches
  1. 9 core/modules/search/src/SearchPageRepository.php \Drupal\search\SearchPageRepository::getQuery()
  2. 10 core/modules/search/src/SearchPageRepository.php \Drupal\search\SearchPageRepository::getQuery()
  3. 11.x 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();
}

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