function SearchPage::getPlugin

Same name in other branches
  1. 9 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::getPlugin()
  2. 8.9.x core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::getPlugin()
  3. 10 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::getPlugin()

Overrides SearchPageInterface::getPlugin

1 call to SearchPage::getPlugin()
SearchPage::isIndexable in core/modules/search/src/Entity/SearchPage.php
Determines if this search page entity is indexable.

File

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

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

public function getPlugin() {
    return $this->getPluginCollection()
        ->get($this->plugin);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.