You are here

function speedy_form_system_performance_settings_alter in Speedy 7

Implements hook_FORM_ID_alter().

_state

Parameters

type $form:

File

./speedy.module, line 17
Improve the front end performance of your site.

Code

function speedy_form_system_performance_settings_alter(&$form, &$form_state) {
  $form['bandwidth_optimization']['speedy_js_production'] = array(
    '#type' => 'checkbox',
    '#title' => t('Use minified JS files created by Speedy'),
    '#default_value' => variable_get('speedy_js_production', TRUE),
    '#description' => t('Enabling this will replace non-minified Drupal core Javascript files with a minified version.'),
  );
}