Extension:MobileFrontend/Hooks/MobileFrontendFeaturesRegistration

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.

ParametersEdit

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