public function Paragraphs::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/ Paragraphs.php, line 96
Class
- Paragraphs
- Field Plugin for paragraphs migrations.
Namespace
Drupal\paragraphs\Plugin\migrate\fieldCode
public function alterFieldFormatterMigration(MigrationInterface $migration) {
$this
->addViewModeProcess($migration);
parent::alterFieldFormatterMigration($migration);
}