MediaWiki
master
GetActionNameHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Actions\Hook
;
4
5
use
MediaWiki\Context\IContextSource
;
6
11
interface
GetActionNameHook
{
21
public
function
onGetActionName
(
IContextSource
$context,
string
&$action ): void;
22
}
MediaWiki\Actions\Hook\GetActionNameHook
Definition
GetActionNameHook.php:11
MediaWiki\Actions\Hook\GetActionNameHook\onGetActionName
onGetActionName(IContextSource $context, string &$action)
Use this hook to override the action name depending on request parameters.
MediaWiki\Context\IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:71
MediaWiki\Actions\Hook
Definition
GetActionNameHook.php:3
includes
actions
Hook
GetActionNameHook.php
Generated on Sun Nov 10 2024 03:22:30 for MediaWiki by
1.10.0