You are here

function heartbeat_plugins_menu in Heartbeat 7

Implements hook_menu().

File

modules/heartbeat_plugins/heartbeat_plugins.module, line 159

Code

function heartbeat_plugins_menu() {
  $items = array();
  foreach (heartbeat_plugins_get_active_plugins() as $pluginWrapper) {
    if ($plugin = $pluginWrapper
      ->getPlugin()) {
      $items += $plugin
        ->getMenuItems();
    }
  }
  return $items;
}