You are here

public function TestSqlIdMap::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/tests/src/Unit/TestSqlIdMap.php \Drupal\Tests\migrate\Unit\TestSqlIdMap::__construct()

Constructs a TestSqlIdMap object.

Parameters

\Drupal\Core\Database\Connection $database: The database.

array $configuration: The configuration.

string $plugin_id: The plugin ID for the migration process to do.

mixed $plugin_definition: The configuration for the plugin.

\Drupal\migrate\Entity\MigrationInterface $migration: The migration to do.

Overrides Sql::__construct

File

core/modules/migrate/tests/src/Unit/TestSqlIdMap.php, line 35
Contains \Drupal\Tests\migrate\Unit\TestSqlIdMap.

Class

TestSqlIdMap
Defines a SQL ID map for use in tests.

Namespace

Drupal\Tests\migrate\Unit

Code

public function __construct(Connection $database, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EventDispatcherInterface $event_dispatcher) {
  $this->database = $database;
  parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $event_dispatcher);
}