Commit a0fb280d authored by alexpott's avatar alexpott

Issue #2134079 by fago: Storage-related methods are not invoked for computed fields.

parent abdb0c52
......@@ -337,7 +337,7 @@ protected function invokeTranslationHooks(ContentEntityInterface $entity) {
protected function invokeFieldMethod($method, ContentEntityInterface $entity) {
foreach (array_keys($entity->getTranslationLanguages()) as $langcode) {
$translation = $entity->getTranslation($langcode);
foreach ($translation as $field) {
foreach ($translation->getProperties(TRUE) as $field) {
$field->$method();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment