protected function setDefaultValuesInFieldsWithInheritedValues(Form $form, array $row)
{
$inheritedConfiguration = $this->getInheritedConfiguration($row);
foreach ($form->getFields() as $field) {
$name = $field->getName();
$inheritedValue = $this->getInheritedPropertyValueByDottedPath($inheritedConfiguration, $name);
if (null !== $inheritedValue && true === $field instanceof Form\FieldInterface) {
$field->setDefault($inheritedValue);
}
}
return $form;
}