function jquery_update_form_system_performance_settings_alter in jQuery Update 7
Implementation of hook_form_FORM_ID_alter().
File
- ./
jquery_update.module, line 106 - Updates Drupal to use the latest version of jQuery.
Code
function jquery_update_form_system_performance_settings_alter(&$form, &$form_state) {
$form['bandwidth_optimization']['jquery_update_compression_type'] = array(
'#type' => 'radios',
'#title' => t('jQuery compression level'),
'#options' => array(
'min' => t('Production (minified)'),
'none' => t('Development (uncompressed)'),
),
'#default_value' => variable_get('jquery_update_compression_type', 'min'),
);
}