public function toFieldValue(StorageFieldValue $value, FieldValue $fieldValue) { if (empty($value->dataText)) { // Special case for anonymous user return; } $fieldValue->data = $this->parseLegacyXml($value->dataText); }