Метод resolveTargetCategoryId
Сигнатура метода
private function resolveTargetCategoryId(EntityConversionConfigItem $configItem, Factory $factory): ?int
Возвращает:
?int
Описание
Resolves the target category for a conversion destination that supports categories. The client-supplied categoryId only selects the pipeline; the permission to add into it is verified by the caller. Returns null when the category is invalid (negative) or when the type has no default category, which the caller treats as access denied (deny-by-default).
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$configItem
|
EntityConversionConfigItem
|
—
|
—
|
$factory
|
Factory
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/Service/Operation/Conversion.php
Расположение метода в файле
Строки
90–101