function SearchPageRepositoryInterface::getDefaultSearchPage

Same name in other branches
  1. 9 core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::getDefaultSearchPage()
  2. 8.9.x core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::getDefaultSearchPage()
  3. 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.

File

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

Class

SearchPageRepositoryInterface
Provides the interface for a repository Search Page entities.

Namespace

Drupal\search

Code

public function getDefaultSearchPage();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.