You are here

public function MigrateSourceUiForm::__construct in Migrate source UI 8

MigrateSourceUiForm constructor.

Parameters

\Drupal\migrate\Plugin\MigrationPluginManager $plugin_manager_migration: The migration plugin manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Drupal\Core\File\FileSystemInterface $file_system: The File System service.

File

src/Form/MigrateSourceUiForm.php, line 60

Class

MigrateSourceUiForm
Contribute form.

Namespace

Drupal\migrate_source_ui\Form

Code

public function __construct(MigrationPluginManager $plugin_manager_migration, ConfigFactoryInterface $config_factory, FileSystemInterface $file_system) {
  $this->pluginManagerMigration = $plugin_manager_migration;
  $this->definitions = $this->pluginManagerMigration
    ->getDefinitions();
  $this->config = $config_factory
    ->get('migrate_source_ui.settings');
  $this->fileSystem = $file_system;
}