Метод autoFilledConstantValue
Сигнатура метода
private static function autoFilledConstantValue(Constant $item): mixed
Возвращает:
mixed
Описание
An empty default of a required bool would fail the "required & empty" check, while the form itself submits N for the same state (each row of a multiple bool publishes its own N), so N is what the auto-fill path takes. An empty value of an optional bool is a legitimate "not set" and is left alone, as is any constant outside the blocks of the wizard.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$item
|
Constant
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/install/activities/bitrix/setuptemplateactivity/setuptemplateactivity.php
Расположение метода в файле
Строки
1247–1259