You are here

public function FlexiformElementUserName::configureFormSubmit in Flexiform 7

Submit the configure form for the element.

Overrides FlexiformElement::configureFormSubmit

File

includes/element/user_name.element.inc, line 134
Contains class for the User name element.

Class

FlexiformElementUserName
Class to add the node title field to a form.

Code

public function configureFormSubmit($form, &$form_state, $flexiform) {
  if (module_exists('email_registration')) {
    $this->settings['email_registration'] = $form_state['values']['email_registration'];
  }
  $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);
}