Метод publishOnBeforeAdd
Сигнатура метода
public function publishOnBeforeAdd(array &$fields): void
Возвращает:
void
Описание
Published by an add after the serialization and before the compression of an email description and the encoding of the emoji, so a subscriber sees the serialized settings and an uncompressed description. Mutations reach the row; there is no veto and the answers are ignored.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$fields
|
array
|
—
|
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Activity/Pipeline/Step/Shared/EventPublisher.php
Расположение метода в файле
Строки
64–70