You are here

protected function SearchPage::searchPluginManager in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::searchPluginManager()
  2. 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\Entity

Code

protected function searchPluginManager() {
  return \Drupal::service('plugin.manager.search');
}