You are here

public function SearchPage::isIndexable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::isIndexable()

Determines if this search page entity is indexable.

Return value

bool TRUE if this search page entity is indexable, FALSE otherwise.

Overrides SearchPageInterface::isIndexable

File

core/modules/search/src/Entity/SearchPage.php, line 151
Contains \Drupal\search\Entity\SearchPage.

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

public function isIndexable() {
  return $this
    ->status() && $this
    ->getPlugin() instanceof SearchIndexingInterface;
}