You are here

protected property Migration::$migration_dependencies in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::migration_dependencies
  2. 10 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 190

Class

Migration
Defines the Migration plugin.

Namespace

Drupal\migrate\Plugin

Code

protected $migration_dependencies = [];