Skip to content
Snippets Groups Projects
Commit a0fb280d authored by Alex Pott's avatar Alex Pott
Browse files

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

parent abdb0c52
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment