public function TestMigration::setPluginId in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setPluginId()
- 10 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\UnitCode
public function setPluginId($plugin_id) {
$this->pluginId = $plugin_id;
}