function SearchPageRepositoryInterface::getDefaultSearchPage
Same name in other branches
- 8.9.x core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::getDefaultSearchPage()
- 10 core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::getDefaultSearchPage()
- 11.x core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::getDefaultSearchPage()
Returns the default search page.
Return value
string|false The default search page entity ID, or FALSE if no pages are active.
1 method overrides SearchPageRepositoryInterface::getDefaultSearchPage()
- SearchPageRepository::getDefaultSearchPage in core/
modules/ search/ src/ SearchPageRepository.php - Returns the default search page.
File
-
core/
modules/ search/ src/ SearchPageRepositoryInterface.php, line 40
Class
- SearchPageRepositoryInterface
- Provides the interface for a repository Search Page entities.
Namespace
Drupal\searchCode
public function getDefaultSearchPage();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.