function TestMigration::setPluginId

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

Class

TestMigration
Defines the TestMigration class.

Namespace

Drupal\Tests\migrate\Unit

Code

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.