You are here

public function Paragraphs::alterFieldMigration in Paragraphs 8

Apply any custom processing to the field migration.

Parameters

\Drupal\migrate\Plugin\MigrationInterface $migration: The migration entity.

Overrides FieldPluginBase::alterFieldMigration

File

src/Plugin/migrate/field/Paragraphs.php, line 122

Class

Paragraphs
Field Plugin for paragraphs migrations.

Namespace

Drupal\paragraphs\Plugin\migrate\field

Code

public function alterFieldMigration(MigrationInterface $migration) {
  $settings = [
    'paragraphs' => [
      'plugin' => 'paragraphs_field_settings',
    ],
  ];
  $migration
    ->mergeProcessOfProperty('settings', $settings);
}