Метод legacyDefault

public static

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

public static function legacyDefault(bool $filter = false, bool $relations = false): self

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

Описание

The set bizproc offers a node that declares no availableBlocks: condition+action+output always available, filter and relations by the runtime rules of their surfaces, the rest unavailable. A declaration replaces this default as a whole, so a node that only needs to shift one surface declares the default with that argument instead of repeating the full map: a new block type then reaches the declaring nodes together with the nodes that rely on the default.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/activity/dto/complex/blockavailability.php
Расположение метода в файле
Строки 69–81

Исходный код

PHP