You are here

public function HiddenElement::configurationSubmit in Form Builder 7.2

Submit handler for the configuration form.

Overrides ElementBase::configurationSubmit

File

modules/webform/src/HiddenElement.php, line 30

Class

HiddenElement
Special behaviour for hidden elements.

Namespace

Drupal\form_builder_webform

Code

public function configurationSubmit(&$form, &$form_state) {
  parent::configurationSubmit($form, $form_state);
  $this->element['#webform_component']['extra']['hidden_type'] = $form_state['values']['extra']['hidden_type'];
}