< Manual:Hooks
OutputPageAfterGetHeadLinksArray | |
---|---|
Available from version 1.32.0 (Gerrit change 441631) Allows extensions to modify the HTML metadata in the <head> element | |
Define function: | public static function onOutputPageAfterGetHeadLinksArray( $tags, OutputPage $output ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"OutputPageAfterGetHeadLinksArray": "MyExtensionHooks::onOutputPageAfterGetHeadLinksArray"
}
}
|
Called from: | File(s): OutputPage.php Function(s): getHeadLinksArray |
Interface: | OutputPageAfterGetHeadLinksArrayHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:OutputPageAfterGetHeadLinksArray extensions.
Details
- &$tags: Associative array of all
<link>
elements generated so far - $output: the OutputPage object
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.