Метод deactivateAction
Сигнатура метода
public function deactivateAction(DeactivateFormRequest $request): FormStateResponse
Возвращает:
FormStateResponse
Описание
`crm.form.deactivate`: stops the form and answers with the state it is in afterwards. Neither fitness nor the limit is asked about here: stopping a form grows neither the number of working forms nor what the visitors of a page are shown, so a form that may no longer be turned on can still be turned off.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$request
|
DeactivateFormRequest
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Controller/Form/Form.php
Расположение метода в файле
Строки
248–251