• Модуль: ui
  • Путь к файлу: ~/bitrix/modules/ui/lib/Integration/Rest/ImportStep.php
  • Класс: BitrixUIIntegrationRestImportStep
  • Вызов: ImportStep::makeAStep
public function makeAStep(): void;

public function makeAnAnswer(): ?array
{
	return [
		'RATIO' => $this->nextStep->toArray(),
	] + (($error = $this->errorCollection->current()) ? [
		'ERROR_MESSAGE' => $error->getMessage(),
		'ERROR_ACTION' => $error->getCode(),
	] : []);
}