You are here

public function Geofield::alterFieldMigration in Geofield 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/Geofield.php, line 76

Class

Geofield
MigrateField Plugin for Drupal 6 and 7 email fields.

Namespace

Drupal\geofield\Plugin\migrate\field

Code

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