MediaWiki master
ApiQueryCheckCanExecuteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Api\Hook;
4
9
18
34 public function onApiQueryCheckCanExecute( $modules, $authority, &$message );
35
36}
Extension of Message implementing IApiMessage.
This is a base class for all Query modules.
This is a hook handler interface, see docs/Hooks.md.
onApiQueryCheckCanExecute( $modules, $authority, &$message)
This hook is called during at the beginning of ApiQuery::execute and can be used to prevent execution...
This interface represents the authority associated with the current execution context,...
Definition Authority.php:37