You are here

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

Parameters

$webform_id:

Return value

mixed

Overrides FieldMappingBase::getSupportedWebformFields

File

src/Plugin/WebformContentCreator/FieldMapping/SocialMediaLinksFieldMapping.php, line 37

Class

SocialMediaLinksFieldMapping
Provides social media links field mapping.

Namespace

Drupal\webform_content_creator\Plugin\WebformContentCreator\FieldMapping

Code

public function getSupportedWebformFields($webform_id) {
  $supported_types = FieldMappingInterface::WEBFORM_TEXT_ELEMENTS;
  return $this
    ->filterWebformFields($webform_id, $supported_types);
}