Метод prepareEntityFieldAiFillPolicyConfigs
Сигнатура метода
public static function prepareEntityFieldAiFillPolicyConfigs(int $entityTypeId, array $userFields): array
Возвращает:
array
Описание
Generates the BitrixGPT fill policy of $userFields for the editor, keyed by field name. A field gets an entry only while the setting exists for it - the supported types of an entity type the policy covers; the editor shows no switch for the fields left out.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityTypeId
|
int
|
—
|
—
|
$userFields
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/Service/EditorAdapter.php
Расположение метода в файле
Строки
1409–1436