Метод resolveServiceRuleProperty
Сигнатура метода
private function resolveServiceRuleProperty(string $activityCode): ?array
Возвращает:
?array
Описание
Rules a node served by the unified panel carries without its class declaring them - the same set the instance of the activity is completed with ({@see \CBPActivity::createInstance()}), so the descriptor read here and the property the runtime carries cannot diverge. Empty for any other node. Only this lookup is answered: the properties map of the configurator stays empty, because a non-empty map is what tells {@see \Bitrix\BizprocDesigner\Internal\Command\Activity\Complex\SaveSingleRuleCommand} that the class renders the unified form - which a legacy-dialog class does not.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityCode
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/Service/Activity/ComplexActivityService.php