class Migration
Same name in this branch
- 8.9.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration
Same name in other branches
- 9 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration
- 10 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration
- 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
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\migrate\ProcessPluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate\Plugin\MigrateProcessInterface
- class \Drupal\migrate\Plugin\migrate\process\MigrationLookup extends \Drupal\migrate\ProcessPluginBase implements \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- class \Drupal\migrate\Plugin\migrate\process\Migration extends \Drupal\migrate\Plugin\migrate\process\MigrationLookup
- class \Drupal\migrate\Plugin\migrate\process\MigrationLookup extends \Drupal\migrate\ProcessPluginBase implements \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- class \Drupal\migrate\ProcessPluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate\Plugin\MigrateProcessInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
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.
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ process/ Migration.php, line 19
Namespace
Drupal\migrate\Plugin\migrate\processView source
class Migration extends MigrationLookup {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.