You are here

public function AddressFieldMapping::getSupportedWebformFields in Webform Content Creator 3.x

Parameters

$webform_id:

Return value

mixed

Overrides FieldMappingBase::getSupportedWebformFields

File

src/Plugin/WebformContentCreator/FieldMapping/AddressFieldMapping.php, line 27

Class

AddressFieldMapping
Provides an address field mapping.

Namespace

Drupal\webform_content_creator\Plugin\WebformContentCreator\FieldMapping

Code

public function getSupportedWebformFields($webform_id) {
  $supported_types = [
    "address",
    "webform_address",
  ];
  return $this
    ->filterWebformFields($webform_id, $supported_types);
}