You are here

function css3pie_form_css3pie_admin_alter in css3pie 6

Implements hook_form_alter() we need to run our css file building after the system_settings_form_submit handler has runned because we have new values and we read the variable with variable_get...

Parameters

array $form:

<type> $form_state:

File

./css3pie.admin.inc, line 98

Code

function css3pie_form_css3pie_admin_alter(&$form, &$form_state) {

  // rebuild the css file after save of the new variables
  // system_settings_form_submit must be run before we want to rebuild.
  $form['#submit'][] = 'css3pie_admin_submit';
}