Loading modules/salesforce_webform/src/Plugin/SalesforceMappingField/WebformElements.php +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ class WebformElements extends SalesforceMappingFieldPluginBase { // Loop over every field on the webform. foreach ($webform_elements as $element_id => $element) { if ($element['#type'] == 'webform_address') { if (in_array($element['#type'], ['webform_address', 'webform_name'])) { $element = $webform->getElement($element_id, TRUE); foreach ($element['#webform_composite_elements'] as $sub_element) { $options[$sub_element['#webform_composite_key']] = $element['#title'] . ': ' . (string) $sub_element['#title']; Loading Loading
modules/salesforce_webform/src/Plugin/SalesforceMappingField/WebformElements.php +1 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,7 @@ class WebformElements extends SalesforceMappingFieldPluginBase { // Loop over every field on the webform. foreach ($webform_elements as $element_id => $element) { if ($element['#type'] == 'webform_address') { if (in_array($element['#type'], ['webform_address', 'webform_name'])) { $element = $webform->getElement($element_id, TRUE); foreach ($element['#webform_composite_elements'] as $sub_element) { $options[$sub_element['#webform_composite_key']] = $element['#title'] . ': ' . (string) $sub_element['#title']; Loading