function om_menu_tools in OM Tools 6.2
Same name and namespace in other branches
- 8.2 tools/menu/menu.inc \om_menu_tools()
- 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;
}