Метод updateAction

public

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

public function updateAction(UpdateEmbeddingRequest $request): UpdateResponse

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

Описание

`crm.form.embedding.update`: answers with the plain result flag; the settings of the variants the request does not carry stay as they are, and empty `fields` is a valid request asking for no write. A request that wrote something rebuilds the published package of the form: the package carries these settings as they were when it was built. The expected version is read before the right to write is asked about - unlike the fields ({@see mapChangeSet()}), and on purpose: it is a property of the request itself, refused the same way the framework refuses a malformed `id`, before the request reaches the operation.

Параметры

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

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

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

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

Исходный код

PHP