\TranslatableFormFieldTransformation
Synopsis
class TranslatableFormFieldTransformation
extends FormTransformation
{
- // members
- private DataObject $original = NULL;
- // methods
- public void __construct()
- public DataObject getOriginal()
- public CompositeField transformFormField()
- protected CompositeField baseTransform()
Hierarchy
Extends
- FormTransformation
Members
private
- $original — DataObject
Methods
protected
public
- __construct()
- getOriginal() — Returns the original DataObject attached to the Transformation
- transformFormField() — Transform a given form field into a composite field, where the translation is editable and the original value is added as a read-only field.