Метод getAvailableBlocksForNode
Сигнатура метода
public function getAvailableBlocksForNode(string $activityType, bool $filterModuleSupported, bool $filterAvailable = false, bool $relationsAvailable = false, ?array $documentType = null, ?ActivityDescription $description = null): ?BlockAvailability
Возвращает:
?BlockAvailability
Описание
Return only the available-blocks descriptor for a node without loading its full action list. Used in loadSettings to avoid a redundant getCorrespondingNodeActionActivityByName() call.
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityType
|
string
|
—
|
—
|
$filterModuleSupported
|
bool
|
—
|
—
|
$filterAvailable
|
bool
|
false
|
—
|
$relationsAvailable
|
bool
|
false
|
—
|
$documentType
|
?array
|
null
|
—
|
$description
|
?ActivityDescription
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/Activity/CapabilityCatalogService.php
Расположение метода в файле
Строки
153–199