• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Router.php
  • Класс: Bitrix\Crm\Service\Router
  • Вызов: Router::getDeadlinesUrl
public function getDeadlinesUrl(int $entityTypeId, int $categoryId = null): ?Uri
{
	if ($this->isNewRoutingForListEnabled($entityTypeId))
	{
		return $this->getDeadlinesUrlViaViewModeWithNewRouting($entityTypeId, $categoryId);
	}
	// old routind support. like getKanbanActivityUrlWithOldRouting
	if ($entityTypeId === \CCrmOwnerType::Quote)
	{
		$template = Option::get(self::MODULE_ID, 'path_to_quote_deadlines');
		return new Uri(\CComponentEngine::makePathFromTemplate($template));
	}
	else
	{
		return null;
	}
}