You are here

public function SearchApiPage::showSearchForm in Search API Pages 8

Whether to show the search form above the search results.

Return value

bool TRUE when search form needs to be shown.

Overrides SearchApiPageInterface::showSearchForm

File

src/Entity/SearchApiPage.php, line 250

Class

SearchApiPage
Defines the Search page entity.

Namespace

Drupal\search_api_page\Entity

Code

public function showSearchForm() {
  return $this->show_search_form;
}