Commit 38b953c2 authored by Heine Deelstra's avatar Heine Deelstra Committed by Wesley Sandra
Browse files

Issue #3189155 by Heine, bramvandenbulcke: Wrongly showing 'all languages' on...

Issue #3189155 by Heine, bramvandenbulcke: Wrongly showing 'all languages' on all fields on paragraphs in translated language
parent 6f58d8f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -502,7 +502,7 @@ class ParagraphsClassicAsymmetricWidget extends InlineParagraphsWidget {

            // Hide untranslatable fields when configured to do so except
            // paragraph fields.
            if (!$translatable && $this->isTranslating && !$is_paragraph_field) {
            if (!$translatable && ($this->isTranslating && !$items->getFieldDefinition()->isTranslatable()) && !$is_paragraph_field) {
              if ($hide_untranslatable_fields) {
                $element['subform'][$field]['#access'] = FALSE;
              }