MediaWiki master
ApiCheckCanExecuteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Api\Hook;
4
9
35 public function onApiCheckCanExecute( $module, $user, &$message );
36}
This abstract class implements many basic API functions, and is the base of all API classes.
Definition ApiBase.php:76
The Message class deals with fetching and processing of interface message into a variety of formats.
Definition Message.php:155
internal since 1.36
Definition User.php:93
This is a hook handler interface, see docs/Hooks.md.
onApiCheckCanExecute( $module, $user, &$message)
This hook is called during ApiMain::checkCanExecute.
Interface for messages with machine-readable data for use by the API.