Open main menu

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): ResourceLoader.php

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

DetailsEdit

  • MobileFrontend\Features\FeaturesManager $featureManager - a manager of features which can be used to register configurable features