function ContactComponent::_webform_csv_data_civicrm_contact in Webform CiviCRM Integration 8.5
Implements _webform_csv_data_component().
File
- src/
ContactComponent.php, line 63
Class
- ContactComponent
- Class ContactComponent
Namespace
Drupal\webform_civicrmCode
function _webform_csv_data_civicrm_contact($component, $export_options, $value) {
return empty($value[0]) ? '' : \Drupal::service('webform_civicrm.utils')
->wf_crm_display_name($value[0]);
}