function SearchPageRepositoryInterface::isSearchActive

Same name in other branches
  1. 9 core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::isSearchActive()
  2. 8.9.x core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::isSearchActive()
  3. 10 core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::isSearchActive()

Returns whether search is active.

Return value

bool TRUE if at least one search is active, FALSE otherwise.

File

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

Class

SearchPageRepositoryInterface
Provides the interface for a repository Search Page entities.

Namespace

Drupal\search

Code

public function isSearchActive();

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