You are here

public function FieldCollection::getFieldWidgetMap in Paragraphs 8

Get a map between D6 and D8 widgets for this field type.

Return value

array The keys are D6 field widget types and the values D8 widgets.

Overrides FieldPluginBase::getFieldWidgetMap

File

src/Plugin/migrate/field/FieldCollection.php, line 101

Class

FieldCollection
Field Plugin for field collection migrations.

Namespace

Drupal\paragraphs\Plugin\migrate\field

Code

public function getFieldWidgetMap() {
  return [
    'field_collection_embed' => 'entity_reference_paragraphs',
  ] + parent::getFieldWidgetMap();
}