Метод mapSettings
Сигнатура метода
private function mapSettings(ViewSettings $settings, string $variant): Dto\ViewSettingsDto
Возвращает:
Dto\ViewSettingsDto
Описание
Which parameters a variant has is a property of the variant itself, so the name decides here the same way it decides in the storage the settings are read from.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$settings
|
ViewSettings
|
—
|
—
|
$variant
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Dto/Mapping/Form/EmbeddingDtoMapper.php
Расположение метода в файле
Строки
81–99