MediaWiki  master
Page\Hook\IsFileCacheableHook Interface Reference

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

Inheritance diagram for Page\Hook\IsFileCacheableHook:

Public Member Functions

 onIsFileCacheable ( $article)
 Use this hook to override the result of Article::isFileCacheable(). More...
 

Detailed Description

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

Use the hook name "IsFileCacheable" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file IsFileCacheableHook.php.

Member Function Documentation

◆ onIsFileCacheable()

Page\Hook\IsFileCacheableHook::onIsFileCacheable (   $article)

Use this hook to override the result of Article::isFileCacheable().

Since
1.35
Parameters
Article$articleArticle being checked
Returns
bool|void True or no return value to override or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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