• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/ui/infopopup.php
  • Класс: Bitrix\Crm\UI\InfoPopup
  • Вызов: InfoPopup::createPhoneBlock
public function createPhoneBlock(string $text, string $phone, bool $canPerformCalls): array
{
	return [
		'type' => 'phone',
		'content' => $text,
		'attributes' => [
			'phone' => $phone,
			'canPerformCalls' => $canPerformCalls,
		],
	];
}