Метод activateAction
Сигнатура метода
public function activateAction(ActivateFormRequest $request): FormStateResponse
Возвращает:
FormStateResponse
Описание
`crm.form.activate`: makes the form work and answers with the state it is in afterwards. A form is turned on only while a write of its own configuration would be taken and only while the plan of the portal has room for one more working form; both are the business of the scenario, and both reach the client as the refusals of a write do.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$request
|
ActivateFormRequest
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Controller/Form/Form.php
Расположение метода в файле
Строки
236–239