You are here

public function FormBuilderPropertyBase::submit in Form Builder 7

Submit handler for the editing form().

This function is responsible to store the new value into the $form_state. The value must be located at $form_state['values'][$property].

Parameters

array $form_state: Form API form_state of the field configure form.

Overrides FormBuilderPropertyInterface::submit

1 call to FormBuilderPropertyBase::submit()
FormBuilderWebformPropertyOptions::submit in modules/webform/form_builder_webform.classes.inc
Submit handler for the editing form().
1 method overrides FormBuilderPropertyBase::submit()
FormBuilderWebformPropertyOptions::submit in modules/webform/form_builder_webform.classes.inc
Submit handler for the editing form().

File

./form_builder.classes.inc, line 993

Class

FormBuilderPropertyBase

Code

public function submit($form, &$form_state) {
  if (isset($this->params['submit'])) {
    foreach ($this->params['submit'] as $function) {
      if (function_exists($function)) {
        $function($form, $form_state);
      }
    }
  }
}