This is a hook handler interface, see docs/Hooks.md in core. More...
Public Member Functions | |
onTranslateProcessAPIMessageGroupsProperties (array &$a, array $props, array $params, MessageGroup $g) | |
Allows extra property requests to be acted upon, and the new properties returned. | |
This is a hook handler interface, see docs/Hooks.md in core.
Use the hook name "TranslateProcessAPIMessageGroupsProperties" to register handlers implementing this interface.
@stable to implement
Definition at line 15 of file ProcessAPIMessageGroupsPropertiesHook.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\ProcessAPIMessageGroupsPropertiesHook::onTranslateProcessAPIMessageGroupsProperties | ( | array & | $a, |
array | $props, | ||
array | $params, | ||
MessageGroup | $g ) |
Allows extra property requests to be acted upon, and the new properties returned.
array | &$a | Associative array of the properties of $group that will be returned |
array | $props | Associative array ($name => true) of properties the user has specifically requested |
array | $params | Parameter input by the user (unprefixed name => value) |
MessageGroup | $g | The group in question |
Implemented in MediaWiki\Extension\Translate\HookRunner.