Skip to content
Snippets Groups Projects

git commit -am 'Issue #3491688: For existing fields, if the default form or...

Files
2
@@ -364,6 +364,9 @@ class SchemaDotOrgEntityTypeBuilder implements SchemaDotOrgEntityTypeBuilderInte
$widget_settings['third_party_settings'] = $existing_form_component['third_party_settings'];
}
}
else {
$widget_id = SchemaDotOrgEntityDisplayBuilderInterface::COMPONENT_HIDDEN;
}
// Set formatter id and settings, label, and third_party_settings
// from the existing view display.
@@ -377,6 +380,9 @@ class SchemaDotOrgEntityTypeBuilder implements SchemaDotOrgEntityTypeBuilderInte
$formatter_settings['third_party_settings'] = $existing_view_component['third_party_settings'];
}
}
else {
$formatter_id = SchemaDotOrgEntityDisplayBuilderInterface::COMPONENT_HIDDEN;
}
}
/**
Loading