function SearchPageRepositoryInterface::isSearchActive
Same name in other branches
- 8.9.x core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::isSearchActive()
- 10 core/modules/search/src/SearchPageRepositoryInterface.php \Drupal\search\SearchPageRepositoryInterface::isSearchActive()
- 11.x 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.
1 method overrides SearchPageRepositoryInterface::isSearchActive()
- SearchPageRepository::isSearchActive in core/
modules/ search/ src/ SearchPageRepository.php - Returns whether search is active.
File
-
core/
modules/ search/ src/ SearchPageRepositoryInterface.php, line 24
Class
- SearchPageRepositoryInterface
- Provides the interface for a repository Search Page entities.
Namespace
Drupal\searchCode
public function isSearchActive();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.