MinervaNeue
A responsive mobile first skin
Loading...
Searching...
No Matches
MediaWiki\Minerva\MobileFrontendHooks Class Reference

Hooks from MobileFrontend extension, which is optional to use with this skin. More...

+ Inheritance diagram for MediaWiki\Minerva\MobileFrontendHooks:
+ Collaboration diagram for MediaWiki\Minerva\MobileFrontendHooks:

Public Member Functions

 __construct (ConfigFactory $configFactory, SkinOptions $skinOptions)
 
 onMobileFrontendFeaturesRegistration (FeaturesManager $featureManager)
 Register mobile web beta features.
 
 onRequestContextCreateSkinMobile (MobileContext $mobileContext, Skin $skin)
 BeforePageDisplayMobile hook handler.
 

Detailed Description

Hooks from MobileFrontend extension, which is optional to use with this skin.

Member Function Documentation

◆ onMobileFrontendFeaturesRegistration()

MediaWiki\Minerva\MobileFrontendHooks::onMobileFrontendFeaturesRegistration ( FeaturesManager $featureManager)

Register mobile web beta features.

See also
https://www.mediawiki.org/wiki/ Extension:MobileFrontend/MobileFrontendFeaturesRegistration
Parameters
FeaturesManager$featureManager

◆ onRequestContextCreateSkinMobile()

MediaWiki\Minerva\MobileFrontendHooks::onRequestContextCreateSkinMobile ( MobileContext $mobileContext,
Skin $skin )

BeforePageDisplayMobile hook handler.

Parameters
MobileContext$mobileContext
Skin$skin

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