You are here

public function Agreement::__construct in Agreement 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/migrate/destination/Agreement.php \Drupal\agreement\Plugin\migrate\destination\Agreement::__construct()

Initialize method.

Parameters

array $configuration: The plugin configuration array.

string $plugin_id: The plugin ID.

array $plugin_definition: The plugin definition array.

\Drupal\migrate\Plugin\MigrationInterface $migration: The migration.

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

Overrides DestinationBase::__construct

File

src/Plugin/migrate/destination/Agreement.php, line 46

Class

Agreement
Agreement migrate destination plugin.

Namespace

Drupal\agreement\Plugin\migrate\destination

Code

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