MediaWiki master
MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onHTMLFileCache__useFileCache ( $context)
 Use this hook to override whether a page should be cached in file cache.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "HTMLFileCache::useFileCache" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file HTMLFileCache__useFileCacheHook.php.

Member Function Documentation

◆ onHTMLFileCache__useFileCache()

MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook::onHTMLFileCache__useFileCache ( $context)

Use this hook to override whether a page should be cached in file cache.

Since
1.35
Parameters
IContextSource$contextIContextSource object with information about the request being served
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: