function SearchPage::searchPluginManager
Same name in other branches
- 9 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::searchPluginManager()
- 10 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::searchPluginManager()
- 11.x 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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.