Skin:Vector/Hooks/SkinVectorStyleModules

Hooks
Available from version 1.22.0 (Gerrit change 79948)
Called before Vector style modules are added to the page
Define function:
public static function onHooks( $skinVector, &$styles ) { ... }
Attach hook:
$wgHooks['Hooks'][] = 'MyExtensionHooks::onHooks';
Called from:File(s): Vector /

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

Details

edit
  • $skinVector - SkinVector object
  • &$styles - array of Vector style modules