You are here

public function TestMigrationMock::id in Drupal 8

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

An alias for getPluginId() for backwards compatibility reasons.

Return value

string The plugin_id of the plugin instance.

Overrides Migration::id

See also

\Drupal\migrate\Plugin\MigrationInterface::getPluginId()

File

core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php, line 202

Class

TestMigrationMock
A mock migration plugin.

Namespace

Drupal\Tests\migrate\Unit

Code

public function id() {
  return $this->id;
}