This is a hook handler interface, see docs/Hooks.md in core. More...
Public Member Functions | |
onTranslateGetSpecialTranslateOptions (array &$defaults, array &$nonDefaults) | |
Provides an opportunity for overriding task values. | |
This is a hook handler interface, see docs/Hooks.md in core.
Use the hook name "TranslateGetSpecialTranslateOptions" to register handlers implementing this interface.
@stable to implement
Definition at line 13 of file GetSpecialTranslateOptionsHook.php.
MediaWiki\Extension\Translate\TranslatorInterface\GetSpecialTranslateOptionsHook::onTranslateGetSpecialTranslateOptions | ( | array & | $defaults, |
array & | $nonDefaults ) |
Provides an opportunity for overriding task values.
array | &$defaults | Associative array of default values |
array | &$nonDefaults | Associative array of nondefault (override) values |
Implemented in MediaWiki\Extension\Translate\HookRunner.