You are here

function tb_megamenu_get_block_config in The Better Mega Menu 7

3 calls to tb_megamenu_get_block_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
template_preprocess_tb_megamenu_backend in ./tb_megamenu.themes.inc

File

./tb_megamenu.functions.inc, line 144

Code

function tb_megamenu_get_block_config($menu_name) {
  $menu = tb_megamenu_get_menu($menu_name);
  return $menu && isset($menu->block_config) ? json_decode($menu->block_config, true) : array();
}