|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onSpecialSearchProfileForm ( $search, &$form, $profile, $term, $opts) | |
| Use this hook to modify search profile forms. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialSearchProfileForm" to register handlers implementing this interface.
Definition at line 14 of file SpecialSearchProfileFormHook.php.
| MediaWiki\Search\Hook\SpecialSearchProfileFormHook::onSpecialSearchProfileForm | ( | $search, | |
| & | $form, | ||
| $profile, | |||
| $term, | |||
| $opts ) |
Use this hook to modify search profile forms.
| SpecialPage | $search | |
| string | &$form | Form HTML |
| string | $profile | Current search profile |
| string | $term | Search term |
| string[] | $opts | Key => value of hidden options for inclusion in custom forms |
Implemented in MediaWiki\HookContainer\HookRunner.