Page MenuHomeWickedGov Phorge

SkinTemplateGetLanguageLinkHook.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

SkinTemplateGetLanguageLinkHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\Output\OutputPage;
use MediaWiki\Title\Title;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SkinTemplateGetLanguageLink" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SkinTemplateGetLanguageLinkHook {
/**
* This hook is called after building the data for a language link from
* which the actual html is constructed.
*
* @since 1.35
*
* @param array &$languageLink Array containing data about the link. The following keys can be
* modified: href, text, title, class, lang, hreflang. Each of them is a string.
* @param Title $languageLinkTitle Title object belonging to the external language link
* @param Title $title Title object of the page the link belongs to
* @param OutputPage $outputPage OutputPage object the links are built from
* @return bool|void True or no return value to continue or false to abort
*/
public function onSkinTemplateGetLanguageLink( &$languageLink,
$languageLinkTitle, $title, $outputPage
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 08:23 (1 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2b/ca/95de76974a4156b4f95102ba2a74
Default Alt Text
SkinTemplateGetLanguageLinkHook.php (1 KB)

Event Timeline