public WidgetInterface::massageFormValues(array $values, array $form, FormStateInterface $form_state)
Massages the form values into the format expected for field values.
array $values: The submitted form values produced by the widget.
array $form: The form structure where field elements are attached to. This might be a full form structure, or a sub-element of a larger form.
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
array An array of field values, keyed by delta.
public function massageFormValues(array $values, array $form, FormStateInterface $form_state);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!WidgetInterface.php/function/WidgetInterface::massageFormValues/8.1.x