SearchPage::searchPageRepository

protected 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 244

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

1
2
3
protected function searchPageRepository() {
  return \Drupal::service('search.search_page_repository');
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.