SearchPageRepositoryInterface::setDefaultSearchPage

public SearchPageRepositoryInterface::setDefaultSearchPage(SearchPageInterface $search_page)

Sets a given search page as the default.

Parameters

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

Return value

static

File

core/modules/search/src/SearchPageRepositoryInterface.php, line 50

Class

SearchPageRepositoryInterface
Provides the interface for a repository Search Page entities.

Namespace

Drupal\search

Code

public function setDefaultSearchPage(SearchPageInterface $search_page);
doc_Drupal
2016-10-29 09:40:47
Comments
Leave a Comment

Please login to continue.