You are here

function hs_menu_admin_settings in Hierarchical Select 5.3

Same name and namespace in other branches
  1. 6.3 modules/hs_menu.module \hs_menu_admin_settings()
  2. 7.3 modules/hs_menu.module \hs_menu_admin_settings()

Form definition; admin settings.

1 string reference to 'hs_menu_admin_settings'
hs_menu_menu in modules/hs_menu.module
Implementation of hook_menu().

File

modules/hs_menu.module, line 54
Implementation of the Hierarchical Select API for the Menu module.

Code

function hs_menu_admin_settings() {
  $form['hs_menu_resizable'] = array(
    '#type' => 'radios',
    '#title' => t('Resizable'),
    '#description' => t("When enabled, a handle appears below the Hierarchical Select to allow\n      the user to dynamically resize it. Double clicking will toggle between\n      the smallest and a sane 'big size'."),
    '#options' => array(
      0 => t('Disabled'),
      1 => t('Enabled'),
    ),
    '#default_value' => variable_get('hs_menu_resizable', 1),
  );
  return system_settings_form($form);
}