Получить дополнительные поля секции в компонентах

В файл компонента result_modifier.php:

if ($resRow = CIBlockSection::GetList([], [
	"IBLOCK_ID" => $arResult["SECTION"]["PATH"][0]["IBLOCK_ID"],
	"ID" => $arResult["SECTION"]["PATH"][0]["ID"]
], false, ["UF_LEFT_BANNER", "UF_LEFT_BANNER_LINK", "UF_H1"], [
	"nPageSize" => 1
])->Fetch()) {
	if (isset($resRow["UF_LEFT_BANNER"]) && $resRow["UF_LEFT_BANNER"] != "" && $resRow["UF_LEFT_BANNER"] > 0) {
		$arResult["UF_LEFT_BANNER"] = [
			"link" => $resRow["UF_LEFT_BANNER_LINK"],
			//"big" => CFile::GetFileArray($resRow["UF_LEFT_BANNER"])
		];
		$arResult["UF_LEFT_BANNER"] = array_merge($arResult["UF_LEFT_BANNER"], CFile::ResizeImageGet($resRow["UF_LEFT_BANNER"], array('width' => 250, 'height' => 500), BX_RESIZE_PROPORTIONAL_ALT, true));
	} else if (isset($resRow["UF_H1"]) && $resRow["UF_H1"] != "") {
		$arResult["UF_H1"] = $resRow["UF_H1"];
	}
}