SearchPage::isIndexable

public 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 146

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

public function isIndexable() {
  return $this->status() && $this->getPlugin() instanceof SearchIndexingInterface;
}
doc_Drupal
2016-10-29 09:40:21
Comments
Leave a Comment

Please login to continue.