You are here

function jquery_ui_admin_settings in jQuery UI 5

Admin settings form.

1 string reference to 'jquery_ui_admin_settings'
jquery_ui_menu in ./jquery_ui.module
Implementation of hook_menu().

File

./jquery_ui.module, line 104
Provides the jQuery UI plug-in to other Drupal modules.

Code

function jquery_ui_admin_settings() {
  $form['jquery_ui_compression_type'] = array(
    '#type' => 'radios',
    '#title' => t('jQuery UI compression type'),
    '#options' => drupal_map_assoc(array(
      'packed',
      'minified',
      'none',
    )),
    '#default_value' => variable_get('jquery_ui_compression_type', 'minified'),
    '#description' => t("Type of compression to use. 'Packed' uses Dean Edward's packer to make the file size as small as possible, but may require more browser processing. 'Minified' takes out all comments, whitespace, etc. to reduce the file size to a lesser degree, maintaining performance. 'None' leaves the full source intact."),
  );
  return system_settings_form($form);
}