Метод createCustomTemplateEditor
Сигнатура метода
public function createCustomTemplateEditor(string $sceneId, string $targetId, int $userId): ?MessageEditor
Возвращает:
?MessageEditor
Описание
Build a {@see MessageEditor} pre-configured for the «custom template» editing modal. The CRM factory owns the "{entityTypeId}:{categoryId}" targetId format and parses it through {@see CrmTemplateTargetId}. This keeps the editor assembly independent from the messageservice custom-template zone registry while still using the exact same parser/formatter as the CRM zone provider.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$sceneId
|
string
|
—
|
—
|
$targetId
|
string
|
—
|
—
|
$userId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/messagesender/ui/factory.php
Расположение метода в файле
Строки
65–111