Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SearchPage.php

function 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 266

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal