- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/automation/trigger/calltrigger.php
- Класс: Bitrix\Crm\Automation\Trigger\CallTrigger
- Вызов: CallTrigger::getPropertiesMap
static function getPropertiesMap(): array
{
if (!static::hasLines())
{
return [];
}
return [
[
'Id' => 'LINE_NUMBER',
'Name' => Loc::getMessage('CRM_AUTOMATION_TRIGGER_CALL_PROPERTY_LINE'),
'Type' => 'select',
'EmptyValueText' => Loc::getMessage('CRM_AUTOMATION_TRIGGER_CALL_DEFAULT_LINE'),
'Settings' => [
'OptionsLoader' => [
'type' => 'component',
'component' => 'bitrix:crm.automation',
'action' => 'getCallLines',
'mode' => 'class',
],
],
]
];
}