function SearchPageInterface::getPlugin
Same name in other branches
- 9 core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getPlugin()
- 8.9.x core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getPlugin()
- 11.x core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getPlugin()
Returns the search plugin.
Return value
\Drupal\search\Plugin\SearchInterface The search plugin used by this search page entity.
1 method overrides SearchPageInterface::getPlugin()
- SearchPage::getPlugin in core/
modules/ search/ src/ Entity/ SearchPage.php - Returns the search plugin.
File
-
core/
modules/ search/ src/ SearchPageInterface.php, line 18
Class
- SearchPageInterface
- Provides an interface defining a search page entity.
Namespace
Drupal\searchCode
public function getPlugin();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.