You are here

public function TestMigrationMock::__construct 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::__construct()
  2. 10 core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Unit\TestMigrationMock::__construct()

TestMigrationMock constructor.

Overrides Migration::__construct

File

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

Class

TestMigrationMock
A mock migration plugin.

Namespace

Drupal\Tests\migrate\Unit

Code

public function __construct($id, $dependencies) {

  // Intentionally ignore parent constructor.
  $this->id = $id;
  $this->dependencies = $dependencies;
}