// When updating an existing revision, keep the existing records if the
// field values did not change.
if(!$entity->isNewRevision() && $original && !$this->hasFieldValueChanged($field_definition, $entity, $original)){ continue; }
// Delete and insert, rather than update, in case a value was added.
if($update){ // Only overwrite the field's base table if saving the default revision
// of an entity.
if($entity->isDefaultRevision()){