< Extension:CirrusSearch < Hooks 
 
      | CirrusSearchProfileService | |
|---|---|
| Available from version 1.31.0 (Gerrit change 399451) Allows extensions to register search profile repositories | |
| Define function: | public static function onCirrusSearchProfileService( SearchProfileService $service ) { ... }
 | 
| Attach hook: | $wgHooks['CirrusSearchProfileService'][] = 'MyExtensionHooks::onCirrusSearchProfileService';
 | 
| Called from: | File(s): CirrusSearch / includes/Profile/SearchProfileServiceFactory.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:CirrusSearchProfileService extensions.
This hook is a part of CirrusSearch extension.
Details
- $service- \CirrusSearch\Profile\SearchProfileService the profile service being built
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.