You are here

public function TestMigration::setPluginId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setPluginId()
  2. 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 217
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;
}