function Utils::wf_crm_address_fields in Webform CiviCRM Integration 8.5
These are the address fields this module supports
Return value
array
Overrides UtilsInterface::wf_crm_address_fields
File
- src/
Utils.php, line 845 - Webform CiviCRM module's common utility functions.
Class
Namespace
Drupal\webform_civicrmCode
function wf_crm_address_fields() {
$fields = [];
foreach (array_keys($this
->wf_crm_get_fields()) as $key) {
if (strpos($key, 'address') === 0) {
$fields[] = substr($key, 8);
}
}
return $fields;
}