Метод publishOnBeforeUpdate
Сигнатура метода
public function publishOnBeforeUpdate(int $activityId, array &$fields): void
Возвращает:
void
Описание
Published by an update after the compression and the encoding and before the write - the inversion of the moment an add publishes at, which is an invariant of the design rather than a mistake. Mutations reach the row; there is no veto.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityId
|
int
|
—
|
—
|
$fields
|
array
|
—
|
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Activity/Pipeline/Step/Shared/EventPublisher.php
Расположение метода в файле
Строки
79–85