• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Timeline/Item/Configurable.php
  • Класс: Bitrix\Crm\Service\Timeline\Item\Configurable
  • Вызов: Configurable::getIcon
public function getIcon(): ?Layout\Icon
{
	$iconCode = $this->getIconCode();

	return $iconCode
		? (new Layout\Icon())
			->setCode($iconCode)
			->setCounterType($this->getCounterType())
			->setBackgroundColorToken($this->getBackgroundColorToken())
		: null
	;
}