Метод extractWizardMeta
Сигнатура метода
private function extractWizardMeta(): ?WizardMeta
Возвращает:
?WizardMeta
Описание
Extracts wizard metadata from the first SetupTemplateActivity. `buildSetupTemplateProperties` emits one base block (global wizardTitle/wizardDescription + visible constants without per-constant wizard) and starts a new block whenever it hits a constant with its own wizardTitle. Reverse mirrors that: title/description of the FIRST block become global wizard meta; title/description of any subsequent block attach to the FIRST constant of that block (mirrors builder, where only the constant that declared wizardTitle triggered the new block). Returns null when no SetupTemplateActivity is present in the template — callers use this to distinguish "no wizard at all" from "wizard exists but has no items".
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateReverser/TemplateReverser.php