public function FlexiformElementNodeAuthor::configureFormSubmit in Flexiform 7
Submit the configure form for the element.
Overrides FlexiformElement::configureFormSubmit
File
- includes/
element/ node_author.element.inc, line 147 - Contains class for the Node author element.
Class
- FlexiformElementNodeAuthor
- Class to add the node author 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'];
$this->settings['default_value']['use_current'] = $form_state['values']['default_value']['use_current'];
parent::configureFormSubmit($form, $form_state, $flexiform);
}