- Issue created by @hga77
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 12:08pm 12 April 2023
Translations are not available on the duplicate operation.
In \Drupal\inline_translation\EntityOperations::entityFormAlter(),
if (!in_array($form_object->getOperation(), ['add', 'edit', 'default'], TRUE)) {
we are not adding the duplicate operation.
Add the duplicate operation like so,
if (!in_array($form_object->getOperation(), ['add', 'edit', 'duplicate', 'default'], TRUE)) {
Needs review
1.0
Code