public function FieldCollection::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/ FieldCollection.php, line 92
Class
- FieldCollection
- Field Plugin for field collection migrations.
Namespace
Drupal\paragraphs\Plugin\migrate\fieldCode
public function getFieldFormatterMap() {
return [
'field_collection_view' => 'entity_reference_revisions_entity_view',
] + parent::getFieldFormatterMap();
}