Extension:CirrusSearch/Hooks/CirrusSearchProfileService

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

edit
  • $service - \CirrusSearch\Profile\SearchProfileService the profile service being built