This is used for transferring a native attribute value to a value that the widget,
generated from the information obtained via {@link IAttribute::getFieldDefinition()}
can handle.
public valueToWidget ( mixed $varValue ) : mixed | ||
$varValue | mixed | The value to be transformed. |
return | mixed | The resulting widget compatible value |