public function SearchPageInterface::getPlugin in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getPlugin()
- 9 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();