Метод buildLegacyDefaultAvailableBlocks

private

Сигнатура метода

private function buildLegacyDefaultAvailableBlocks(bool $filterAvailable, bool $relationsAvailable): BlockAvailability

Возвращает: BlockAvailability

Описание

Build legacy-compatible default BlockAvailability for nodes without an explicit declaration: condition+action+output always available; filter by filterSupported rule; relations by complexNodeConnections; base-settings/group/storages = false. The set itself lives on the descriptor DTO, so a node declaring the same default (the installed CRM complex nodes do) reads it from one place instead of repeating the map.

Параметры

2
Имя Тип По умолчанию Флаги
$filterAvailable bool —
—
$relationsAvailable bool —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Service/Activity/CapabilityCatalogService.php
Расположение метода в файле
Строки 360–363

Исходный код

PHP