- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/kanban/entity/lead.php
- Класс: Bitrix\Crm\Kanban\Entity\Lead
- Вызов: Lead::getTypeInfo
public function getTypeInfo(): array
{
return array_merge(
parent::getTypeInfo(),
[
'disableMoveToWin' => true,
'canShowPopupForLeadConvert' => true,
'showPersonalSetStatusNotCompletedText' => true,
'hasPlusButtonTitle' => true,
'hasRestictionToMoveToWinColumn' => true,
'isRecyclebinEnabled' => LeadSettings::getCurrent()->isRecycleBinEnabled(),
'canUseIgnoreItemInPanel' => true,
'canUseCreateTaskInPanel' => true,
'canUseCallListInPanel' => true,
'canUseMergeInPanel' => true,
'stageIdKey' => 'STATUS_ID',
'defaultQuickFormFields' => [
'TITLE',
'CLIENT',
],
]
);
}