public function Paragraphs::alterFieldInstanceMigration in Paragraphs 8
Apply any custom processing to the field instance migration.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration entity.
Overrides FieldPluginBase::alterFieldInstanceMigration
File
- src/
Plugin/ migrate/ field/ Paragraphs.php, line 134
Class
- Paragraphs
- Field Plugin for paragraphs migrations.
Namespace
Drupal\paragraphs\Plugin\migrate\fieldCode
public function alterFieldInstanceMigration(MigrationInterface $migration) {
$settings = [
'paragraphs' => [
'plugin' => 'paragraphs_field_instance_settings',
],
];
$migration
->mergeProcessOfProperty('settings', $settings);
}