You are here

public function Paragraphs::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/Paragraphs.php, line 113

Class

Paragraphs
Field Plugin for paragraphs migrations.

Namespace

Drupal\paragraphs\Plugin\migrate\field

Code

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