You are here

function popup_menu_block_info in Popup 8

Same name and namespace in other branches
  1. 7 modules/popup_menu/popup_menu.module \popup_menu_block_info()
  2. 7.x modules/popup_menu/popup_menu.module \popup_menu_block_info()

Implementation of hook_block_info

1 call to popup_menu_block_info()
popupmenu_features_export_options in modules/popup_menu/includes/popup_menu.features.inc
Implementation of [component]_features_export()

File

modules/popup_menu/popup_menu.module, line 13

Code

function popup_menu_block_info() {
  $menus = menu_get_menus();
  $menu_blocks = array();
  foreach ($menus as $id => $menu) {
    $menu_blocks[$id]['info'] = 'Popup menu: ' . $menu;
  }
  return $menu_blocks;
}