function TestMigration::setPluginId
Same name in other branches
- 9 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()
- 11.x 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
Class
- TestMigration
- Defines the TestMigration class.
Namespace
Drupal\Tests\migrate\UnitCode
public function setPluginId($plugin_id) {
$this->pluginId = $plugin_id;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.