function TestMigration::__construct
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::__construct()
- 8.9.x core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::__construct()
- 10 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::__construct()
Constructs an instance of TestMigration object.
Overrides Migration::__construct
File
-
core/
modules/ migrate/ tests/ src/ Unit/ MigrationTest.php, line 262
Class
- TestMigration
- Defines the TestMigration class.
Namespace
Drupal\Tests\migrate\UnitCode
public function __construct() {
$this->migration_dependencies = ($this->migration_dependencies ?: []) + [
'required' => [],
'optional' => [],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.