+ // Computed fields should be skipped by the check for translation changes.
+ foreach (array_diff_key($entity->getFieldDefinitions(), array_flip($fields)) as $field_name => $field_definition) {
+ if ($field_definition->isComputed()) {
+ $fields[] = $field_name;
+ }
+ }
+