return $params;
}
- /**
- * @return array
- */
- public function getColumnPatterns() {
- CRM_Core_Error::deprecatedFunctionWarning('no longer used- use CRM_Contact_Import_MetadataTrait');
- $values = [];
- foreach ($this->_fields as $name => $field) {
- $values[$name] = $field->_columnPattern;
- }
- return $values;
- }
-
/**
* @param string $name
* @param $title
return TRUE;
}
- // get the formatted location blocks into params - w/ 3.0 format, CRM-4605
- if (!empty($values['location_type_id'])) {
- CRM_Core_Error::deprecatedFunctionWarning('this is not expected to be reachable now');
- return $this->formatLocationBlock($values, $params);
- }
-
if (isset($values['note'])) {
// add a note field
if (!isset($params['note'])) {