You are here

public function FieldPluginBase::alterFieldInstanceMigration in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::alterFieldInstanceMigration()
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::alterFieldInstanceMigration()

Apply any custom processing to the field instance migration.

Parameters

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

Overrides MigrateFieldInterface::alterFieldInstanceMigration

1 call to FieldPluginBase::alterFieldInstanceMigration()
ReferenceBase::alterFieldInstanceMigration in core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php
Apply any custom processing to the field instance migration.
2 methods override FieldPluginBase::alterFieldInstanceMigration()
LinkField::alterFieldInstanceMigration in core/modules/link/src/Plugin/migrate/field/d7/LinkField.php
Apply any custom processing to the field instance migration.
ReferenceBase::alterFieldInstanceMigration in core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php
Apply any custom processing to the field instance migration.

File

core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php, line 33

Class

FieldPluginBase
The base class for all field plugins.

Namespace

Drupal\migrate_drupal\Plugin\migrate\field

Code

public function alterFieldInstanceMigration(MigrationInterface $migration) {

  // Nothing to do by default with field instances.
}