You are here

public function TestMigration::setPluginId in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setPluginId()

Sets the migration ID (machine name).

Parameters

string $plugin_id: The plugin_id of the plugin instance.

File

core/modules/migrate/tests/src/Unit/MigrationTest.php, line 204
Contains \Drupal\Tests\migrate\Unit\MigrationTest.

Class

TestMigration
Defines the TestMigration class.

Namespace

Drupal\Tests\migrate\Unit

Code

public function setPluginId($plugin_id) {
  $this->pluginId = $plugin_id;
}