You are here

public function MigrateUpdater::__construct in GatherContent 8.5

DI GatherContent Client.

Parameters

\Drupal\migrate\Plugin\MigrationPluginManagerInterface $migrationService:

\Drupal\Core\Database\Connection $database:

File

gathercontent_upload/src/Export/MigrateUpdater.php, line 38

Class

MigrateUpdater
Class for handling import/update logic from GatherContent to Drupal.

Namespace

Drupal\gathercontent_upload\Export

Code

public function __construct(MigrationPluginManagerInterface $migrationService, Connection $database) {
  $this->migrationService = $migrationService;
  $this->database = $database;
}