function TestMigration::setDestinationPlugin

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setDestinationPlugin()
  2. 10 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setDestinationPlugin()
  3. 11.x 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

Class

TestMigration
Defines the TestMigration class.

Namespace

Drupal\Tests\migrate\Unit

Code

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.