protected function SearchPage::searchPageRepository in Drupal 9
Same name and namespace in other branches
- 8 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::searchPageRepository()
Wraps the search page repository.
Return value
\Drupal\search\SearchPageRepositoryInterface A search page repository object.
File
- core/
modules/ search/ src/ Entity/ SearchPage.php, line 250
Class
- SearchPage
- Defines a configured search page.
Namespace
Drupal\search\EntityCode
protected function searchPageRepository() {
return \Drupal::service('search.search_page_repository');
}