function SearchPageRepositoryInterface::getDefaultSearchPage

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

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\search

Code

public function getDefaultSearchPage();

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