function tb_megamenu_get_menu_config in The Better Mega Menu 7
2 calls to tb_megamenu_get_menu_config()
- tb_megamenu_update_megamenus in ./
tb_megamenu.functions.inc - Update items in tb_megamenus table.
- template_preprocess_tb_megamenu in ./
tb_megamenu.themes.inc
File
- ./
tb_megamenu.functions.inc, line 139
Code
function tb_megamenu_get_menu_config($menu_name) {
$menu = tb_megamenu_get_menu($menu_name);
return $menu && isset($menu->menu_config) ? json_decode($menu->menu_config, true) : array();
}