You are here

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

Parameters

$webform_id:

Return value

mixed

Overrides FieldMappingBase::getSupportedWebformFields

File

src/Plugin/WebformContentCreator/FieldMapping/EmailFieldMapping.php, line 25

Class

EmailFieldMapping
Provides email field mapping.

Namespace

Drupal\webform_content_creator\Plugin\WebformContentCreator\FieldMapping

Code

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