function 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 247
Class
- TestMigration
- Defines the TestMigration class.
Namespace
Drupal\Tests\migrate\UnitCode
public function setDestinationPlugin(MigrateDestinationInterface $destination_plugin) {
$this->destinationPlugin = $destination_plugin;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.