You are here

public function SearchPageInterface::isDefaultSearch in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::isDefaultSearch()
  2. 9 core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::isDefaultSearch()

Determines if this search page entity is currently the default search.

Return value

bool TRUE if this search page entity is the default search, FALSE otherwise.

1 method overrides SearchPageInterface::isDefaultSearch()
SearchPage::isDefaultSearch in core/modules/search/src/Entity/SearchPage.php
Determines if this search page entity is currently the default search.

File

core/modules/search/src/SearchPageInterface.php, line 34

Class

SearchPageInterface
Provides an interface defining a search page entity.

Namespace

Drupal\search

Code

public function isDefaultSearch();