public function FlexiformElementUserMail::configureFormSubmit in Flexiform 7
Submit the configure form for the element.
Overrides FlexiformElement::configureFormSubmit
File
- includes/
element/ user_mail.element.inc, line 109 - Contains class for the User mail element.
Class
- FlexiformElementUserMail
- Class to add the User mail field to a form.
Code
public function configureFormSubmit($form, &$form_state, $flexiform) {
$this->settings['default_value']['default_value'] = $form_state['values']['default_value']['default_value'];
$this->settings['default_value']['use_tokens'] = $form_state['values']['default_value']['use_tokens'];
parent::configureFormSubmit($form, $form_state, $flexiform);
}