function FieldPluginBase::alterFieldInstanceMigration

Same name in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::alterFieldInstanceMigration()
  2. 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::alterFieldInstanceMigration()
  3. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase::alterFieldInstanceMigration()

Overrides MigrateFieldInterface::alterFieldInstanceMigration

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.