Updates the original values with the interim changes.
public function updateOriginalValues() {
if (!$this->fields) {
return;
}
foreach ($this
->getPropertyDefinitions() as $name => $definition) {
if (empty($definition['computed']) && !empty($this->fields[$name])) {
foreach ($this->fields[$name] as $langcode => $field) {
$field
->filterEmptyValues();
$this->values[$name][$langcode] = $field
->getValue();
}
}
}
}