function MigrateUpgradeFormBase::__construct

Same name in other branches
  1. 9 core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeFormBase.php \Drupal\migrate_drupal_ui\Form\MigrateUpgradeFormBase::__construct()
  2. 8.9.x core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeFormBase.php \Drupal\migrate_drupal_ui\Form\MigrateUpgradeFormBase::__construct()
  3. 11.x 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 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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.