You are here

public function FieldPluginBase::alterFieldInstanceMigration in Drupal 8

Same name and namespace in other branches
  1. 9 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()
FieldPluginBase::processFieldInstance in core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php
Alert 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.
LinkField::alterFieldInstanceMigration in core/modules/link/src/Plugin/migrate/cckfield/d7/LinkField.php
Apply any custom processing to the field instance migration.

File

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

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.
}