Last active
February 23, 2022 18:57
-
-
Save kporras07/79dc92b1ac657aaf566bb2cc782452c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/lib/Drupal/Core/Entity/EntityChangesDetectionTrait.php b/core/lib/Drupal/Core/Entity/EntityChangesDetectionTrait.php | |
index ff41106..6c4caa2 100644 | |
--- a/core/lib/Drupal/Core/Entity/EntityChangesDetectionTrait.php | |
+++ b/core/lib/Drupal/Core/Entity/EntityChangesDetectionTrait.php | |
@@ -37,6 +37,8 @@ trait EntityChangesDetectionTrait { | |
} | |
} | |
+ \Drupal::moduleHandler()->alter('fields_to_skip_from_translation_changes', $fields, $entity); | |
+ | |
return $fields; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment