Skip to content
Snippets Groups Projects
Commit 37e9d7b0 authored by Bharath Kumar Kondeti's avatar Bharath Kumar Kondeti
Browse files

Updated the changes from the previous commit.

parent 20127dec
No related branches found
No related tags found
2 merge requests!99Closes #3359875,!39Issue #3260881: Automatically open entity creation form.
......@@ -224,6 +224,20 @@ 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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment