public EntityFormDisplay::extractFormValues(FieldableEntityInterface $entity, array &$form, FormStateInterface $form_state)
Extracts field values from the submitted widget values into the entity.
This accounts for drag-and-drop reordering of field values, and filtering of empty values.
Parameters
\Drupal\Core\Entity\FieldableEntityInterface $entity: The entity.
array $form: The form structure where field elements are attached to. This might be a full form structure, or a sub-element of a l