public function FlexiformElementEntityProperty_date::formExtractValues in Flexiform 7
Extract the submitted values for this form element.
Overrides FlexiformElementEntityProperty::formExtractValues
File
- includes/
element/ property/ date.property.element.inc, line 24 - Contains FlexiformElementEntityProperty_date.
Class
- FlexiformElementEntityProperty_date
- @file Contains FlexiformElementEntityProperty_date.
Code
public function formExtractValues($form, &$form_state, $entity) {
$value = parent::formExtractValues($form, $form_state, $entity);
return strtotime($value);
}