You are here

public function Migration::getMigrationDependencies in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Entity/Migration.php \Drupal\migrate\Entity\Migration::getMigrationDependencies()

Get the dependencies for this migration.

Return value

array The dependencies for this migrations.

Overrides MigrationInterface::getMigrationDependencies

File

core/modules/migrate/src/Entity/Migration.php, line 567
Contains \Drupal\migrate\Entity\Migration.

Class

Migration
Defines the Migration entity.

Namespace

Drupal\migrate\Entity

Code

public function getMigrationDependencies() {
  return $this->migration_dependencies + [
    'required' => [],
    'optional' => [],
  ];
}