public function SearchPage::getPlugin in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::getPlugin()
Returns the search plugin.
Return value
\Drupal\search\Plugin\SearchInterface The search plugin used by this search page entity.
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 116 - Contains \Drupal\search\Entity\SearchPage.
Class
- SearchPage
- Defines a configured search page.
Namespace
Drupal\search\EntityCode
public function getPlugin() {
return $this
->getPluginCollection()
->get($this->plugin);
}