You are here

public function ReviewForm::__construct in Drupal 8

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

ReviewForm constructor.

Parameters

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

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

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

\Drupal\migrate_drupal\MigrationState $migrationState: Migration state service.

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

Overrides MigrateUpgradeFormBase::__construct

File

core/modules/migrate_drupal_ui/src/Form/ReviewForm.php, line 61

Class

ReviewForm
Migrate Upgrade review form.

Namespace

Drupal\migrate_drupal_ui\Form

Code

public function __construct(StateInterface $state, MigrationPluginManagerInterface $migration_plugin_manager, PrivateTempStoreFactory $tempstore_private, MigrationState $migrationState, ConfigFactoryInterface $config_factory) {
  parent::__construct($config_factory, $migration_plugin_manager, $state, $tempstore_private);
  $this->migrationState = $migrationState;
}