Issue #3514391 by solimanharkas: Fix: Prevent InvalidArgumentException when...
Compare changes
@@ -2,6 +2,7 @@
@@ -2,6 +2,7 @@
@@ -12,7 +13,6 @@ use Drupal\Core\Field\FieldItemListInterface;
@@ -12,7 +13,6 @@ use Drupal\Core\Field\FieldItemListInterface;
@@ -258,23 +258,52 @@ class LayoutBuilderCopyWidget extends WidgetBase {
@@ -258,23 +258,52 @@ class LayoutBuilderCopyWidget extends WidgetBase {
if ($replicated_block->getFieldDefinition($field_name)->isTranslatable() && !in_array($field_name, ['default_langcode'])) {