You are here

function edge_fonts_save_settings in @font-your-face 7.2

Custom submit handler for fontyourface_ui_settings_form.

1 string reference to 'edge_fonts_save_settings'
edge_fonts_form_fontyourface_ui_settings_form_alter in modules/edge_fonts/edge_fonts.module
Implements hook_form_FORM_ID_alter().

File

modules/edge_fonts/edge_fonts.module, line 151
Edge Fonts module main file.

Code

function edge_fonts_save_settings($form, &$form_state) {
  if ($form_state['clicked_button']['#parents'][0] == 'edge_fonts_save_settings') {
    variable_set('edge_fonts_base', $form_state['values']['edge_fonts_base']);
    variable_set('edge_fonts_subsets', $form_state['values']['edge_fonts_subsets']);
  }
}