You are here

public function MigrateUpgradeFormBase::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeFormBase.php \Drupal\migrate_drupal_ui\Form\MigrateUpgradeFormBase::__construct()

Constructs the Migrate Upgrade Form Base.

Parameters

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

\Drupal\migrate\Plugin\MigrationPluginManagerInterface $migration_plugin_manager: The migration plugin manager service.

\Drupal\Core\State\StateInterface $state: The state service.

\Drupal\Core\TempStore\PrivateTempStoreFactory $tempstore_private: The private tempstore factory service.

3 calls to MigrateUpgradeFormBase::__construct()
CredentialForm::__construct in core/modules/migrate_drupal_ui/src/Form/CredentialForm.php
CredentialForm constructor.
IncrementalForm::__construct in core/modules/migrate_drupal_ui/src/Form/IncrementalForm.php
IncrementalForm constructor.
ReviewForm::__construct in core/modules/migrate_drupal_ui/src/Form/ReviewForm.php
ReviewForm constructor.
3 methods override MigrateUpgradeFormBase::__construct()
CredentialForm::__construct in core/modules/migrate_drupal_ui/src/Form/CredentialForm.php
CredentialForm constructor.
IncrementalForm::__construct in core/modules/migrate_drupal_ui/src/Form/IncrementalForm.php
IncrementalForm constructor.
ReviewForm::__construct in core/modules/migrate_drupal_ui/src/Form/ReviewForm.php
ReviewForm constructor.

File

core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeFormBase.php, line 47

Class

MigrateUpgradeFormBase
Form base for the Migrate Upgrade UI.

Namespace

Drupal\migrate_drupal_ui\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, MigrationPluginManagerInterface $migration_plugin_manager, StateInterface $state, PrivateTempStoreFactory $tempstore_private) {
  $this->configFactory = $config_factory;
  $this->migrationPluginManager = $migration_plugin_manager;
  $this->state = $state;
  $this->store = $tempstore_private
    ->get('migrate_drupal_ui');
}