You are here

function googleanalytics_admin_settings_form_submit in Google Analytics 5

File

./googleanalytics.module, line 517

Code

function googleanalytics_admin_settings_form_submit($form_id, $form_values) {

  // Trim some text area values.
  $form_values['googleanalytics_pages'] = trim($form_values['googleanalytics_pages']);
  $form_values['googleanalytics_codesnippet_before'] = trim($form_values['googleanalytics_codesnippet_before']);
  $form_values['googleanalytics_codesnippet_after'] = trim($form_values['googleanalytics_codesnippet_after']);
  system_settings_form_submit($form_id, $form_values);
}