public function TestMigration::setDestinationPlugin in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setDestinationPlugin()
- 10 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setDestinationPlugin()
Sets the destination Plugin.
Parameters
\Drupal\migrate\Plugin\MigrateDestinationInterface $destination_plugin: The destination Plugin.
File
- core/
modules/ migrate/ tests/ src/ Unit/ MigrationTest.php, line 234 - Contains \Drupal\Tests\migrate\Unit\MigrationTest.
Class
- TestMigration
- Defines the TestMigration class.
Namespace
Drupal\Tests\migrate\UnitCode
public function setDestinationPlugin(MigrateDestinationInterface $destination_plugin) {
$this->destinationPlugin = $destination_plugin;
}