You are here

function sassy_form_system_performance_settings_alter in Sassy 7

Same name and namespace in other branches
  1. 7.3 sassy.module \sassy_form_system_performance_settings_alter()

Implementation of hook_form_FORM_ID_alter().

File

./sassy.module, line 28
Handles compiling of .sass / .scss files.

Code

function sassy_form_system_performance_settings_alter(&$form, &$form_states) {
  $form['sassy'] = array(
    '#type' => 'fieldset',
    '#title' => t('Development settings for the SASSY module'),
  );
  $form['sassy']['sassy_devel'] = array(
    '#type' => 'checkbox',
    '#title' => t('Recompile all SASS / SCSS files on every page request.'),
    '#description' => t('Disables the caching of SASS / SCSS files. Useful for when regularly changing the stylesheets (during theme development).'),
    '#default_value' => variable_get('sassy_devel', FALSE),
  );
}