- Модуль: catalog
- Путь к файлу: ~/bitrix/modules/catalog/lib/component/imageinput.php
- Класс: BitrixCatalogComponentImageInput
- Вызов: ImageInput::getImageParams
private function getImageParams(): array
{
return [
'name' => $this->getInputName(),
'id' => $this->getInputId(),
'description' => 'Y',
'allowUpload' => 'I',
'allowUploadExt' => null,
'maxCount' => !$this->isMorePhotoEnabled() ? 1 : null,
'upload' => true,
'medialib' => false,
'fileDialog' => true,
'cloud' => true,
];
}