You are here

public function FlexiformElementFlexiform::formSubmit in Flexiform 7

Overrides FlexiformElement::formSubmit().

Overrides FlexiformElement::formSubmit

File

includes/element/flexiform.element.inc, line 96
Contains FlexiformElementFlexiform class.

Class

FlexiformElementFlexiform
Class to embed one flexiform inside another.

Code

public function formSubmit($form, &$form_state, $entity, $language = LANGUAGE_NONE) {
  $sub_form = $form[$this->element_namespace];
  $sub_form['#flexiform_builder']
    ->formSubmit($sub_form, $form_state);
}