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);
Please login to continue.