You are here

public function SearchPageRepositoryInterface::isSearchActive in Drupal 9

Same name and namespace in other branches
  1. 8 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\search

Code

public function isSearchActive();