function SearchPageRepository::getQuery
Same name in other branches
- 9 core/modules/search/src/SearchPageRepository.php \Drupal\search\SearchPageRepository::getQuery()
- 8.9.x core/modules/search/src/SearchPageRepository.php \Drupal\search\SearchPageRepository::getQuery()
- 10 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\searchCode
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.