You are here

public function SearchApiPage::showAllResultsWhenNoSearchIsPerformed in Search API Pages 8

Show all results when no search is performed.

Return value

bool TRUE when having to show all results.

Overrides SearchApiPageInterface::showAllResultsWhenNoSearchIsPerformed

File

src/Entity/SearchApiPage.php, line 257

Class

SearchApiPage
Defines the Search page entity.

Namespace

Drupal\search_api_page\Entity

Code

public function showAllResultsWhenNoSearchIsPerformed() {
  return $this->show_all_when_no_keys;
}