Метод undoRestore

public

Сигнатура метода

public function undoRestore(int $templateId, ?int $userId): RestoreVersionResponse

Возвращает: RestoreVersionResponse

Описание

Drops the draft created by the restore, so the editor returns to the backup copy or, when there is none, to the published configuration.

Параметры

2
Имя Тип По умолчанию Флаги
$templateId int —
—
$userId ?int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Api/Service/WorkflowTemplateHistoryService.php
Расположение метода в файле
Строки 406–454

Исходный код

PHP