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

Breadcrumb

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

function HelpSectionManager::setSearchManager

Sets the search manager.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface|null $search_manager: The search manager if the Search module is installed.

File

core/modules/help/src/HelpSectionManager.php, line 52

Class

HelpSectionManager
Manages help page section plugins.

Namespace

Drupal\help

Code

public function setSearchManager(?PluginManagerInterface $search_manager = NULL) {
    $this->searchManager = $search_manager;
}

API Navigation

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