public function webform_handler_relationship_submission_data::options_submit in Webform 7.4
Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.
Overrides views_handler::options_submit
File
- views/
webform_handler_relationship_submission_data.inc, line 58
Class
- webform_handler_relationship_submission_data
- Views' relationship handlers.
Code
public function options_submit(&$form, &$form_state) {
parent::options_submit($form, $form_state);
_webform_views_options_submit($form, $form_state);
$options =& $form_state['values']['options'];
$options['webform_form_key'] = $options['webform_join_by'] == 'form_key' && ($node = node_load($options['webform_nid'])) ? $node->webform['components'][$options['webform_cid']]['form_key'] : NULL;
// Drop PHP reference.
unset($options);
}