MediaWiki  master
MediaWiki\Cache\Hook\MessagesPreLoadHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Cache\Hook\MessagesPreLoadHook:

Public Member Functions

 onMessagesPreLoad ( $title, &$message, $code)
 This hook is called when loading a message from the database. More...
 

Detailed Description

Stable to implement.

Definition at line 9 of file MessagesPreLoadHook.php.

Member Function Documentation

◆ onMessagesPreLoad()

MediaWiki\Cache\Hook\MessagesPreLoadHook::onMessagesPreLoad (   $title,
$message,
  $code 
)

This hook is called when loading a message from the database.

Since
1.35
Parameters
string$titleTitle of the message
string&$messageMessage you want to define
string$codeLanguage code
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: