You are here

public function SimpleUserConfirmImportForm::__construct in Simple Node Importer 8

Confirmation form for the start User import.

Parameters

Drupal\simple_node_importer\Services\GetServices $getServices: Constructs a Drupal\simple_node_importer\Services object.

Drupal\Core\TempStore\PrivateTempStoreFactory $sessionVariable: Constructs a Drupal\Core\TempStore\PrivateTempStoreFactory object.

Drupal\Core\Session\SessionManagerInterface $session_manager: Constructs a Drupal\Core\Session\SessionManagerInterface object.

Drupal\Core\Session\AccountInterface $current_user: Constructs a Drupal\Core\Session\AccountInterface object.

Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Constructs a Drupal\Core\Entity\EntityTypeManagerInterface object.

File

src/Form/SimpleUserConfirmImportForm.php, line 42

Class

SimpleUserConfirmImportForm
Defines a confirmation form to confirm deletion of something by id.

Namespace

Drupal\simple_node_importer\Form

Code

public function __construct(GetServices $getServices, PrivateTempStoreFactory $sessionVariable, SessionManagerInterface $session_manager, AccountInterface $current_user, EntityTypeManagerInterface $entity_type_manager) {
  $this->services = $getServices;
  $this->sessionVariable = $sessionVariable
    ->get('simple_node_importer');
  $this->sessionManager = $session_manager;
  $this->currentUser = $current_user;
  $this->entityTypeManager = $entity_type_manager;
}