You are here

function neutral_paths_admin_submit in Neutral paths 7

Handler for saving settings.

1 string reference to 'neutral_paths_admin_submit'
neutral_paths_admin in ./neutral_paths.module
Admin form.

File

./neutral_paths.module, line 150
Neutral paths.

Code

function neutral_paths_admin_submit($form, &$form_state) {
  $values =& $form_state['values'];
  variable_set('neutral_paths_fix_new', array_keys(array_filter($values['neutral_paths_fix_new'])));
  drupal_set_message(t('The configuration options have been saved.'));
}