You are here

function FlexiformElementField::formExtractValues in Flexiform 7

Overrides FlexiformElement::formExtractValues().

Overrides FlexiformElement::formExtractValues

1 call to FlexiformElementField::formExtractValues()
FlexiformElementField::formIsEmpty in includes/element/field.element.inc
Overrides FlexiformElement::formIsEmpty().

File

includes/element/field.element.inc, line 580
Contains FlexiformElementField class.

Class

FlexiformElementField
Class for Field API elements.

Code

function formExtractValues($form, &$form_state, $entity, $language = LANGUAGE_NONE) {

  // Extract form values.
  $form_elements = $this
    ->extractFormElements($form);
  $items = array();
  field_default_extract_form_values($this
    ->getEntityType(), $entity, $this
    ->getField(), $this
    ->getInstance(), $language, $items, $form_elements, $form_state);
  return $items;
}