Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SearchPage.php

function SearchPage::isIndexable

Overrides SearchPageInterface::isIndexable

File

core/modules/search/src/Entity/SearchPage.php, line 158

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

public function isIndexable() {
    return $this->status() && $this->getPlugin() instanceof SearchIndexingInterface;
}
RSS feed
Powered by Drupal