You are here

public function SearchPageRepositoryInterface::getDefaultSearchPage in Drupal 9

Same name and namespace in other branches
  1. 8 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();