class Migration

Same name in this branch
  1. 8.9.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration
Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration
  2. 10 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration
  3. 11.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration

Calculates the value of a property based on a previous migration.

Online handbook documentation for migration process plugin

Plugin annotation


@MigrateProcessPlugin(
  id = "migration"
)

Hierarchy

Expanded class hierarchy of Migration

Deprecated

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate\Plugin\migrate\process\MigrationLookup instead.

1 file declares its use of Migration
MigrationTest.php in core/modules/migrate/tests/src/Unit/process/MigrationTest.php
12 string references to 'Migration'
FieldDiscoveryTest::testGetCckPluginManager in core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php
Tests the fallback to deprecated CCK Plugin Manager.
migrate.info.yml in core/modules/migrate/migrate.info.yml
core/modules/migrate/migrate.info.yml
migrate_drupal.info.yml in core/modules/migrate_drupal/migrate_drupal.info.yml
core/modules/migrate_drupal/migrate_drupal.info.yml
migrate_drupal_ui.info.yml in core/modules/migrate_drupal_ui/migrate_drupal_ui.info.yml
core/modules/migrate_drupal_ui/migrate_drupal_ui.info.yml
Migration::findMigrationDependencies in core/modules/migrate/src/Plugin/Migration.php
Find migration dependencies from migration_lookup and sub_process plugins.

... See full list

File

core/modules/migrate/src/Plugin/migrate/process/Migration.php, line 19

Namespace

Drupal\migrate\Plugin\migrate\process
View source
class Migration extends MigrationLookup {

}

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