MediaWiki REL1_35
ApiBeforeMainHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use ApiMain;
6
20 public function onApiBeforeMain( &$main );
21}
This is the main API class, used for both external and internal processing.
Definition ApiMain.php:47
onApiBeforeMain(&$main)
This hook is called before calling ApiMain's execute() method in api.php.