< Extension:MobileFrontend < Hooks
| RequestContextCreateSkinMobile | |
|---|---|
| Available from version 1.29.0 (Gerrit change 347786) This hook runs at the end of MobileFrontend's call to the Manual:Hooks/RequestContextCreateSkin hook |
|
| Define function: | public static function onRequestContextCreateSkinMobile( MobileContext $mobileContext, Skin $skin ) { ... }
|
| Attach hook: | $wgHooks['RequestContextCreateSkinMobile'][] = 'MyExtensionHooks::onRequestContextCreateSkinMobile';
|
| Called from: | File(s): MobileFrontend / includes/MobileFrontendHooks.php Function(s): onRequestContextCreateSkin |
For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:RequestContextCreateSkinMobile extensions.
Parameters
$mobileContext: An instance ofMobileContext$skin: Either an instance ofSkin,null, orstring
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.