You are here

function om_menu_tools in OM Tools 8.2

Same name and namespace in other branches
  1. 6.2 tools/menu/menu.inc \om_menu_tools()
  2. 7.2 tools/menu/menu.inc \om_menu_tools()

Menu Tools Form

File

tools/menu/menu.inc, line 16
Menu Tools

Code

function om_menu_tools(&$form, $menu_defaults = array()) {

  // Menu Tools
  $menu_tools = array();
  $menu_tools['menu_classes'] = array(
    '#type' => 'fieldset',
    '#title' => t('Menu Classes'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  );
  $menu_tools['menu_classes'] += om_menu_classes($menu_defaults);
  $form['om_menu_tools'] = array(
    '#type' => 'fieldset',
    '#title' => t('Menu'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  );
  $form['om_menu_tools'] += $menu_tools;
  return $form;
}