function SearchHelpHooks::__construct

Same name and namespace in other branches
  1. main core/modules/search/modules/search_help/src/Hook/SearchHelpHooks.php \Drupal\search_help\Hook\SearchHelpHooks::__construct()

File

core/modules/search/modules/search_help/src/Hook/SearchHelpHooks.php, line 17

Class

SearchHelpHooks
Hook implementations for help.

Namespace

Drupal\search_help\Hook

Code

public function __construct(#[Autowire(service: 'plugin.manager.search')] protected readonly SearchPluginManager $searchManager, #[Autowire(service: 'plugin.cache_clearer')] protected readonly CachedDiscoveryClearerInterface $pluginCacheClearer) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.