function fontdeck_project_submit in @font-your-face 7
Same name and namespace in other branches
- 6.2 modules/fontdeck/fontdeck.module \fontdeck_project_submit()
- 7.2 modules/fontdeck/fontdeck.module \fontdeck_project_submit()
Updates project number.
1 string reference to 'fontdeck_project_submit'
- fontdeck_form_alter in modules/
fontdeck/ fontdeck.module - Implements hook_form_alter().
File
- modules/
fontdeck/ fontdeck.module, line 110
Code
function fontdeck_project_submit($form, &$form_state) {
if ($form_state['clicked_button']['#parents'][0] == 'fontdeck_project_save') {
variable_set('fontdeck_project', $form_state['values']['fontdeck_project']);
drupal_set_message(t('Fontdeck project updated.'));
}
// if
}