public function getSavedQuickformDefaultsForColumn($column) {
$fieldMapping = [];
- // $sel1 is either unmapped, a relationship or a target field.
- if ($this->getFieldName($column) === 'do_not_import') {
- return $fieldMapping;
- }
-
if ($this->getValidRelationshipKey($column)) {
$fieldMapping[] = $this->getValidRelationshipKey($column);
}
[
['name' => 'do_not_import', 'contact_type' => 'Individual', 'column_number' => 0],
"swapOptions(document.forms.MapField, 'mapper[0]', 0, 4, 'hs_mapper_0_');\n",
- ['mapper[0]' => []],
+ ['mapper[0]' => ['do_not_import']],
],
];
}