You are here

public function PropertyBase::submit in Form Builder 7.2

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 PropertyInterface::submit

1 call to PropertyBase::submit()
PropertyOptions::submit in modules/webform/src/PropertyOptions.php
Submit handler for the editing form().
1 method overrides PropertyBase::submit()
PropertyOptions::submit in modules/webform/src/PropertyOptions.php
Submit handler for the editing form().

File

src/PropertyBase.php, line 23

Class

PropertyBase

Namespace

Drupal\form_builder

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);
      }
    }
  }
}