You are here

function tb_megamenu_edit_col_config in The Better Mega Menu 7

1 call to tb_megamenu_edit_col_config()
template_preprocess_tb_megamenu_column in ./tb_megamenu.themes.inc

File

./tb_megamenu.functions.inc, line 443

Code

function tb_megamenu_edit_col_config(&$col_config) {
  if (!isset($col_config['width'])) {
    $col_config['width'] = 12;
  }
  if (!isset($col_config['class'])) {
    $col_config['class'] = "";
  }
  if (!isset($col_config['hidewcol'])) {
    $col_config['hidewcol'] = 0;
  }
  if (!isset($col_config['showblocktitle'])) {
    $col_config['showblocktitle'] = 0;
  }
}