You are here

public function SearchPageRepositoryInterface::setDefaultSearchPage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::setDefaultSearchPage()

Sets a given search page as the default.

Parameters

\Drupal\search\SearchPageInterface $search_page: The search page entity.

Return value

static

1 method overrides SearchPageRepositoryInterface::setDefaultSearchPage()
SearchPageRepository::setDefaultSearchPage in core/modules/search/src/SearchPageRepository.php
Sets a given search page as the default.

File

core/modules/search/src/SearchPageRepositoryInterface.php, line 55
Contains \Drupal\search\SearchPageRepositoryInterface.

Class

SearchPageRepositoryInterface
Provides the interface for a repository Search Page entities.

Namespace

Drupal\search

Code

public function setDefaultSearchPage(SearchPageInterface $search_page);