You are here

function user_relationship_elaborations_submit in User Relationships 7

Same name and namespace in other branches
  1. 6 user_relationship_elaborations/user_relationship_elaborations.module \user_relationship_elaborations_submit()

process the submitted form and save the new record

1 string reference to 'user_relationship_elaborations_submit'
user_relationship_elaborations_form_alter in user_relationship_elaborations/user_relationship_elaborations.module
hook_form_alter() to catch the approval form

File

user_relationship_elaborations/user_relationship_elaborations.module, line 173
User Relationships Elaborations feature @author Jeff Smick (creator) @author Darren Ferguson http://drupal.org/user/70179

Code

function user_relationship_elaborations_submit($form, &$form_state) {
  user_relationships_delete_elaboration($form_state['values']['rid']);
  user_relationships_save_elaboration($form_state['values']['rid'], $form_state['values']['elaboration']);
}