• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/lib/field.php
  • Класс: BitrixListsField
  • Вызов: Field::prepareEditFieldByFieldDetailPicture
static function prepareEditFieldByFieldDetailPicture(array $field)
{
	$result = array(
		'id' => $field['FIELD_ID'],
		'name' => $field['NAME'],
		'required' => $field['IS_REQUIRED'] == 'Y' ? true : false,
		'type' => 'custom',
		'show' => $field['SHOW'],
		'value' => ($field['ELEMENT_ID'] > 0 && empty($field['VALUE']) && $field['READ'] == 'Y') ?
			Loc::getMessage('LISTS_FIELD_NOT_DATA') : self::renderFieldByTypeF($field)
	);
	return $result;
}