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