• Модуль: crmmobile
  • Путь к файлу: ~/bitrix/modules/crmmobile/lib/Kanban/ControllerStrategy/ListStrategy.php
  • Класс: BitrixCrmMobileKanbanControllerStrategyListStrategy
  • Вызов: ListStrategy::getFilterPresets
protected function getFilterPresets(): array
{
	if ($this->getEntityTypeId() === CCrmOwnerType::Company)
	{
		return (new Company())->getDefaultPresets();
	}

	if ($this->getEntityTypeId() === CCrmOwnerType::Contact)
	{
		return (new Contact())->getDefaultPresets();
	}

	return [];
}