Метод deleteAction

public

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

public function deleteAction(DeleteFormRequest $request): DeleteResponse

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

Описание

`crm.form.delete`: answers with the plain result flag; a repeated delete answers as an absent form does. The expected version is read here the way the change reads it, and by the same mapper: two methods carrying one property of the contract answer a malformed value with one refusal. It is optional here, so a request carrying none asks for a removal that compares no versions, and the confirmation of the removal travels as the request carries it - what it means for a working form is the business of the scenario.

Параметры

1
Имя Тип По умолчанию Флаги
$request DeleteFormRequest —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Controller/Form/Form.php
Расположение метода в файле
Строки 179–196

Исходный код

PHP