Метод restoreVersion
Сигнатура метода
public function restoreVersion(RestoreVersionRequest $request): RestoreVersionResponse
Возвращает:
RestoreVersionResponse
Описание
The configuration of the version becomes a new draft, the draft that was the freshest one stays untouched as a backup copy. The published template is not changed and no version is written.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$request
|
RestoreVersionRequest
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Api/Service/WorkflowTemplateHistoryService.php
Расположение метода в файле
Строки
250–324