You are here

public function IncrementalForm::__construct in Drupal 8

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

IncrementalForm constructor.

Parameters

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

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.

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

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

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

Overrides MigrateUpgradeFormBase::__construct

File

core/modules/migrate_drupal_ui/src/Form/IncrementalForm.php, line 41

Class

IncrementalForm
Migrate Upgrade Incremental form.

Namespace

Drupal\migrate_drupal_ui\Form

Code

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