$this->
customFields($definition,
$row,
$root,
$entity,
$field,
$context);
continue;
} if ($field instanceof TranslatedField
) { // contains the resolved translation chain value
$decoded =
$typed->
getSerializer()->
decode($typed,
$value);
$entity->
addTranslated($property,
$decoded);
$inherited =
$definition->
isInheritanceAware() &&
$context->
considerInheritance();
$chain = EntityDefinitionQueryHelper::
buildTranslationChain($root,
$context,
$inherited);
// assign translated value of the first language
$key =
array_shift($chain) . '.' .
$property;
$decoded =
$typed->
getSerializer()->
decode($typed,
$row[$key]);
$entity->
assign([$property =>
$decoded]);
continue;
} $decoded =
$definition->
decode($property,
$value);