function hook_stats_additional_menublocks

Used by the stats module, this will ask other modules to return an array of paths suitable for the fp_render_menu_block() function. In other words, the paths should be the **beginning** of the paths of your custom reports or other links which you wish to show up on the stats screen.

To see this in action, examine the stats.module file, function stats_display_main()

See also

stats_display_main

1 function implements hook_stats_additional_menublocks()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

fpl_reports_stats_additional_menublocks in includes/hook.api.php
Used by the stats module, this will ask other modules to return an array of paths suitable for the fp_render_menu_block() function. In other words, the paths should be the **beginning** of the paths of your custom reports or other links which you…

File

includes/hook.api.php, line 87
Lists all available hooks within FlightPath's core code.

Code

function hook_stats_additional_menublocks() {

  return array(
    'Custom Reports' => 'stats/custom-reports',
    'Fancy Reports' => 'stats/fancy-reports',
  );

}