Translatable_Transformation::transformCheckboxField
Transform a translatable CheckboxField to show the field value from the default language in the label.
Signature
protected function transformCheckboxField(CheckboxField_Readonly
$nonEditableField,
CheckboxField
$originalField )
Parameters
$nonEditableField
— FormField- The readonly field to contain the original value
$originalField
— FormField- The original editable field containing the translated value
Returns
- CheckboxField
- The field with a modified label