You are here

public function MigrateUpgradeForm::__construct in Migrate Upgrade 8

Constructs the MigrateUpgradeForm.

Parameters

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

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

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The migration entity storage.

File

src/Form/MigrateUpgradeForm.php, line 639
Contains \Drupal\migrate_upgrade\Form\MigrateUpgradeForm.

Class

MigrateUpgradeForm
Defines a multi-step form for performing direct site upgrades.

Namespace

Drupal\migrate_upgrade\Form

Code

public function __construct(StateInterface $state, DateFormatterInterface $date_formatter, RendererInterface $renderer, EntityStorageInterface $entity_storage) {
  $this->state = $state;
  $this->dateFormatter = $date_formatter;
  $this->renderer = $renderer;
  $this->entityStorage = $entity_storage;
}