public function FieldCollection::alterFieldFormatterMigration in Paragraphs 8
Apply any custom processing to the field formatter migration.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration entity.
Overrides FieldPluginBase::alterFieldFormatterMigration
File
- src/
Plugin/ migrate/ field/ FieldCollection.php, line 84
Class
- FieldCollection
- Field Plugin for field collection migrations.
Namespace
Drupal\paragraphs\Plugin\migrate\fieldCode
public function alterFieldFormatterMigration(MigrationInterface $migration) {
$this
->addViewModeProcess($migration);
parent::alterFieldFormatterMigration($migration);
}