protected function SearchPage::searchPluginManager in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::searchPluginManager()
- 9 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::searchPluginManager()
Wraps the search plugin manager.
Return value
\Drupal\Component\Plugin\PluginManagerInterface A search plugin manager object.
1 call to SearchPage::searchPluginManager()
- SearchPage::getPluginCollection in core/
modules/ search/ src/ Entity/ SearchPage.php - Encapsulates the creation of the search page's LazyPluginCollection.
File
- core/
modules/ search/ src/ Entity/ SearchPage.php, line 260
Class
- SearchPage
- Defines a configured search page.
Namespace
Drupal\search\EntityCode
protected function searchPluginManager() {
return \Drupal::service('plugin.manager.search');
}