Note: You should not throw on validation here, as it is implicitly used by ContentService->createContentDraft().
Rather allow invalid value or omit it to let validation layer in FieldType handle issues when user tried
to publish the given draft.
public toStorageValue ( eZ\Publish\SPI\Persistence\Content\FieldValue $value, |
||
$value | eZ\Publish\SPI\Persistence\Content\FieldValue | |
$storageFieldValue |