Migration::$migration_dependencies
Same name in other branches
- 8.9.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::migration_dependencies
- 10 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::migration_dependencies
- 11.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::migration_dependencies
These migrations, if run, must be executed before this migration.
These are different from the configuration dependencies. Migration dependencies are only used to store relationships between migrations.
The migration_dependencies value is structured like this:
array(
'required' => array(),
'optional' => array(),
);
Type: array
File
-
core/
modules/ migrate/ src/ Plugin/ Migration.php, line 267
Class
- Migration
- Defines the Migration plugin.
Namespace
Drupal\migrate\PluginCode
protected $migration_dependencies = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.