public function ImportService::__construct in Entity Share 8.3
RemoteManager constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Psr\Log\LoggerInterface $logger: The logger service.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
\Drupal\entity_share_client\Service\RemoteManagerInterface $remote_manager: The remote manager service.
\Drupal\entity_share_client\Service\ImportConfigManipulatorInterface $import_config_manipulator: The import config manipulator service.
\Drupal\entity_share_client\Service\JsonapiHelperInterface $jsonapi_helper: The JSON:API helper service.
File
- modules/
entity_share_client/ src/ Service/ ImportService.php, line 102
Class
- ImportService
- Class ImportService.
Namespace
Drupal\entity_share_client\ServiceCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, LoggerInterface $logger, MessengerInterface $messenger, RemoteManagerInterface $remote_manager, ImportConfigManipulatorInterface $import_config_manipulator, JsonapiHelperInterface $jsonapi_helper) {
$this->entityTypeManager = $entity_type_manager;
$this->logger = $logger;
$this->messenger = $messenger;
$this->remoteManager = $remote_manager;
$this->importConfigManipulator = $import_config_manipulator;
$this->jsonapiHelper = $jsonapi_helper;
$this->runtimeImportContext = new RuntimeImportContext();
}