• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/exchange/integration/crm/placement/placementdefault.php
  • Класс: BitrixSaleExchangeIntegrationCRMPlacementPlacementDefault
  • Вызов: PlacementDefault::getEntityTypeId
public function getEntityTypeId()
{
	$type = $this->getAction();

	if($type == static::VIEW_ACTION)
	{
		return EntityType::ACTIVITY;
	}
	else
	{
		throw new BitrixMainNotSupportedException("Action AppPlacementType: '".$type."' is not supported in current context");
	}
}