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

protected function searchPageRepository() {
  return \Drupal::service('search.search_page_repository');
}
doc_Drupal
2016-10-29 09:40:22
Comments
Leave a Comment

Please login to continue.