public function EntityReferenceFieldMapping::getSupportedWebformFields in Webform Content Creator 3.x
Parameters
$webform_id:
Return value
mixed
Overrides FieldMappingBase::getSupportedWebformFields
File
- src/
Plugin/ WebformContentCreator/ FieldMapping/ EntityReferenceFieldMapping.php, line 36
Class
- EntityReferenceFieldMapping
- Provides an entity reference field mapping.
Namespace
Drupal\webform_content_creator\Plugin\WebformContentCreator\FieldMappingCode
public function getSupportedWebformFields($webform_id) {
$supported_types = array_merge([
'entity_reference',
], FieldMappingInterface::WEBFORM_ENTIY_REFERENCE_ELEMENTS);
return $this
->filterWebformFields($webform_id, $supported_types);
}