Метод getDescriptorWarnings
Сигнатура метода
public function getDescriptorWarnings(): array
Возвращает:
array
Описание
What the last generation has to say about the visual descriptors of template.source.json: activities this environment cannot describe at all, and descriptors that disagree with the description they were once taken from. The descriptor is a snapshot taken for the sake of a reproducible build, while the truth about how a node looks belongs to the activity description of the owning module - so a build either checks the snapshot against that description or says that it could not. Warnings only: a node backed by a complete descriptor is written as is, and the descriptor keeps winning over the registry. The refusal lives in {@see self::checkNodesAreTrustworthy()} and covers the other case, where neither source nor registry has the data.
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentTemplateGenerator.php