public function Paragraphs::getFieldFormatterMap in Paragraphs 8
Get a map between D6 formatters and D8 formatters for this field type.
This is used by static::alterFieldFormatterMigration() in the base class.
Return value
array The keys are D6 formatters and the values are D8 formatters.
Overrides FieldPluginBase::getFieldFormatterMap
File
- src/
Plugin/ migrate/ field/ Paragraphs.php, line 104
Class
- Paragraphs
- Field Plugin for paragraphs migrations.
Namespace
Drupal\paragraphs\Plugin\migrate\fieldCode
public function getFieldFormatterMap() {
return [
'paragraphs_view' => 'entity_reference_revisions_entity_view',
] + parent::getFieldFormatterMap();
}