- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/rest/externalchannelimportpreset.php
- Класс: Bitrix\Crm\Rest\CCrmExternalChannelImportPreset
- Вызов: CCrmExternalChannelImportPreset::getPresetId
public function getPresetId() { $id = self::getPresetIdByOption(); if(empty($id)) { $id = $this->getDefaultPresetId(); } return $id; }