Extension:BibManager/Hooks/BibManagerGetIcons

BibManagerGetIcons
Available from versionĀ ???
Use this hook to modify the icons in the tooltip and biblist
Define function:
public static function onBibManagerGetIcons( array $entry, array &$icons ) { ... }
Attach hook:
$wgHooks['BibManagerGetIcons'][] = 'MyExtensionHooks::onBibManagerGetIcons';
Called from:File(s): BibManager / includes/BibManagerHooks.php
Function(s): getIcons

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

ParametersEdit

  • $entry: An array representing a database row from the bibmanager table
  • &$icons: A modifiable array of icons