You are here

public function FieldCollection::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/FieldCollection.php, line 109

Class

FieldCollection
Field Plugin for field collection migrations.

Namespace

Drupal\paragraphs\Plugin\migrate\field

Code

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