MediaWiki master
MediaWiki\Output\Hook\OutputPageAfterGetHeadLinksArrayHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onOutputPageAfterGetHeadLinksArray (&$tags, $out)
 This hook is called in OutputPage::getHeadLinksArray right before returning the result.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file OutputPageAfterGetHeadLinksArrayHook.php.

Member Function Documentation

◆ onOutputPageAfterGetHeadLinksArray()

MediaWiki\Output\Hook\OutputPageAfterGetHeadLinksArrayHook::onOutputPageAfterGetHeadLinksArray ( & $tags,
$out )

This hook is called in OutputPage::getHeadLinksArray right before returning the result.

Since
1.35
Parameters
array&$tagsArray containing all <head> links generated so far. The array format is "link name or number => 'link HTML'".
OutputPage$out
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: