function TestMigrationMock::getMigrationDependencies

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Unit\TestMigrationMock::getMigrationDependencies()
  2. 8.9.x core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Unit\TestMigrationMock::getMigrationDependencies()
  3. 11.x core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Unit\TestMigrationMock::getMigrationDependencies()

Overrides Migration::getMigrationDependencies

File

core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php, line 231

Class

TestMigrationMock
A mock migration plugin.

Namespace

Drupal\Tests\migrate\Unit

Code

public function getMigrationDependencies(bool $expand = FALSE) {
    // For the purpose of testing, do not expand dependencies.
    return $this->migration_dependencies;
}

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