Jump to content

Manual:Hooks/MinervaDiscoveryTools

From mediawiki.org
MinervaDiscoveryTools
Available from version 1.25.0 (Gerrit change 191219)
Executes when navigation menu discovery tools have been created.
Define function:
public static function onMinervaDiscoveryTools( &$items ) { ... }
Attach hook:
$wgHooks['MinervaDiscoveryTools'][] = 'MyExtensionHooks::onMinervaDiscoveryTools';
Called from:File(s):

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

Details

[edit]
  • $items: Array of menu items.