You are here

public function FormAssemblyBatchProcessor::__construct in FormAssembly 8

FormAssemblyBatchProcessor constructor.

Parameters

\Drupal\formassembly\ApiSync $apiSync: Injected service.

\Drupal\Component\Uuid\UuidInterface $uuid: Injected service.

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: Injected service.

File

src/FormAssemblyBatchProcessor.php, line 54

Class

FormAssemblyBatchProcessor
The "business logic" of the batch process for syncing with FormAssembly.

Namespace

Drupal\formassembly

Code

public function __construct(ApiSync $apiSync, UuidInterface $uuid, TranslationInterface $string_translation) {
  $this->apiSync = $apiSync;
  $this->uuid = $uuid;
  $this->stringTranslation = $string_translation;
}