Extension:MobileFrontend/Hooks/MobileFrontendFeaturesRegistration

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
MobileFrontendFeaturesRegistration
Available from version ???
Register mobile web beta features
Define function:
public static function onMobileFrontendFeaturesRegistration( MobileFrontend\Features\FeaturesManager $featureManager ) { ... }
Attach hook:
$wgHooks['MobileFrontendFeaturesRegistration'][] = 'MyExtensionHooks::onMobileFrontendFeaturesRegistration';
Called from:File(s): MobileFrontend / includes/Features/FeaturesManager.php
Function(s): useHookToRegisterExtensionOrSkinFeatures

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:MobileFrontendFeaturesRegistration extensions.

Parameters

  • $featureManager: An instance of MobileFrontend\Features\FeaturesManager, representing a manager of features which can be used to register configurable features