You are here

function tb_megamenu_block_info in The Better Mega Menu 7

File

./tb_megamenu.module, line 306

Code

function tb_megamenu_block_info() {
  $menus = tb_megamenu_get_megamenus();
  $blocks = array();
  foreach ($menus as $menu) {
    $blocks[$menu->menu_name] = array(
      'info' => t('TB Mega Menu') . ': ' . $menu->title,
      'cache' => DRUPAL_NO_CACHE,
    );
  }
  return $blocks;
}