public function LinkedImportSettings::configFormSubmit in CRM Core 7
@inheritdoc
Overrides CRMCoreDataImportSettings::configFormSubmit
File
- modules/
crm_core_data_import/ plugins/ settings/ LinkedImportSettings.inc, line 94
Class
Code
public function configFormSubmit(&$form, &$form_state, $importer) {
unset($form_state['values']['linked_imports']['import']);
unset($form_state['values']['linked_imports']['add_import']);
if (!empty($form_state['values']['linked_imports']['fields'])) {
$form_state['values']['linked_imports']['fields'] = $this
->cleanFormValues($form_state['values']['linked_imports']['fields']);
}
return array(
'linked_imports' => $form_state['values']['linked_imports'],
);
}