--- /dev/null
+/**
+ * Implements hook_ENTITY_TYPE_presave().
+ */
+function {{ machine_name }}_ENTITY_TYPE_presave(Drupal\Core\Entity\EntityInterface $entity) {
+ if ($entity->isTranslatable()) {
+ $route_match = \Drupal::routeMatch();
+ \Drupal::service('content_translation.synchronizer')->synchronizeFields($entity, $entity->language()->getId(), $route_match->getParameter('source_langcode'));
+ }
+}