function tb_megamenu_edit_block_config in The Better Mega Menu 7
2 calls to tb_megamenu_edit_block_config()
File
- ./
tb_megamenu.functions.inc, line 458
Code
function tb_megamenu_edit_block_config(&$block_config) {
if (!isset($block_config['animation'])) {
$block_config['animation'] = "none";
}
if (!isset($block_config['style'])) {
$block_config['style'] = "";
}
if (!isset($block_config['auto-arrow'])) {
$block_config['auto-arrow'] = TRUE;
}
if (!isset($block_config['duration'])) {
$block_config['duration'] = 400;
}
if (!isset($block_config['delay'])) {
$block_config['delay'] = 200;
}
if (!isset($block_config['always-show-submenu'])) {
$block_config['always-show-submenu'] = 1;
}
if (!isset($block_config['off-canvas'])) {
$block_config['off-canvas'] = 0;
}
}