function SearchPageRepositoryInterface::setDefaultSearchPage
Same name in other branches
- 9 core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::setDefaultSearchPage()
- 8.9.x core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::setDefaultSearchPage()
- 10 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
File
-
core/
modules/ search/ src/ SearchPageRepositoryInterface.php, line 50
Class
- SearchPageRepositoryInterface
- Provides the interface for a repository Search Page entities.
Namespace
Drupal\searchCode
public function setDefaultSearchPage(SearchPageInterface $search_page);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.