You are here

public function SimpleNodeImporterMappingForm::__construct in Simple Node Importer 8

Confirmation form for the start node 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.

Drupal\file\FileUsage\FileUsageInterface $file_usage: Constructs a Drupal\file\FileUsage\FileUsageInterface object.

Drupal\Core\Logger\LoggerChannelFactoryInterface $logger: Constructs a Drupal\Core\Logger\LoggerChannelFactoryInterface object.

File

src/Form/SimpleNodeImporterMappingForm.php, line 51

Class

SimpleNodeImporterMappingForm
Flexible Mapping Form for the Simple Node Importer.

Namespace

Drupal\simple_node_importer\Form

Code

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