diff --git a/src/Plugin/Field/FieldWidget/InlineEntityFormComplex.php b/src/Plugin/Field/FieldWidget/InlineEntityFormComplex.php index 229cef737fdbd916fc78178b26733e5ecb15fba2..8676a22b59dac67eef5bd5e11c5bf7bd75c75306 100644 --- a/src/Plugin/Field/FieldWidget/InlineEntityFormComplex.php +++ b/src/Plugin/Field/FieldWidget/InlineEntityFormComplex.php @@ -224,20 +224,6 @@ class InlineEntityFormComplex extends InlineEntityFormBase implements ContainerF $summary[] = $this->t('Automatically open creation form'); } - switch ($this->getSetting('removed_reference')) { - case self::REMOVED_KEEP: - $summary[] = $this->t('Always keep unreferenced @label.', ['@label' => $labels['plural']]); - break; - - case self::REMOVED_OPTIONAL: - $summary[] = $this->t('Let users decide whether to keep or delete unreferenced @label.', ['@label' => $labels['plural']]); - break; - - case self::REMOVED_DELETE: - $summary[] = $this->t('Always delete unreferenced @label.', ['@label' => $labels['plural']]); - break; - } - return $summary; }