Метод requireLink

private static

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

private static function requireLink(?string $link, string $name): string

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

Описание

Every link of the answer is built by the scenario, so a model that reached the mapper without one is an incomplete model rather than a form without a link.

Параметры

2
Имя Тип По умолчанию Флаги
$link ?string —
—
$name string —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Dto/Mapping/Form/EmbeddingDtoMapper.php
Расположение метода в файле
Строки 169–177

Исходный код

PHP