Extension:MobileFrontend/Hooks/MobileFrontendFeaturesRegistration

From MediaWiki.org
Jump to navigation Jump to search
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.

Details[edit]

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