public function CRMCoreDataImportSettings::cleanFormValues in CRM Core 7
Clear form values.
4 calls to CRMCoreDataImportSettings::cleanFormValues()
- LinkedImportSettings::configFormSubmit in modules/
crm_core_data_import/ plugins/ settings/ LinkedImportSettings.inc - @inheritdoc
- ReferencesImportSettingsBase::configFormSubmit in modules/
crm_core_data_import/ plugins/ settings/ ReferencesImportSettingsBase.inc - Submission handler for configForm().
- RelationsImportSettingsBase::configFormSubmit in modules/
crm_core_data_import/ plugins/ settings/ RelationsImportSettingsBase.inc - Submission handler for configForm().
- UserContactImportSettings::configFormSubmit in modules/
crm_core_data_import/ plugins/ settings/ UserContactImportSettings.inc - Submission handler for configForm().
File
- modules/
crm_core_data_import/ plugins/ settings/ CRMCoreDataImportSettings.inc, line 100 - Default settings handler for CRM Core Data Import.
Class
- CRMCoreDataImportSettings
- @file Default settings handler for CRM Core Data Import.
Code
public function cleanFormValues($values) {
foreach ($values as $field_key => $field_value) {
if (!empty($values[$field_key]['remove_field'])) {
unset($values[$field_key]['remove_field']);
}
}
return $values;
}