function TestMigrationMock::__construct
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Unit\TestMigrationMock::__construct()
- 8.9.x core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Unit\TestMigrationMock::__construct()
- 11.x core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Unit\TestMigrationMock::__construct()
TestMigrationMock constructor.
Overrides Migration::__construct
File
-
core/
modules/ migrate/ tests/ src/ Unit/ MigrationPluginManagerTest.php, line 215
Class
- TestMigrationMock
- A mock migration plugin.
Namespace
Drupal\Tests\migrate\UnitCode
public function __construct($id, $migration_dependencies) {
// Intentionally ignore parent constructor.
$this->id = $id;
$this->migration_dependencies = $migration_dependencies;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.