• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/tracking/ui/details.php
  • Класс: Bitrix\Crm\Tracking\UI\Details
  • Вызов: Details::appendEntityFields
static function appendEntityFields(array &$fields)
{
	$fields[] = [
		'name' => self::SourceId,
		'title' => self::getFieldCaption(self::SourceId),
		//'type' => 'tracking-source',
		'type' => 'custom',
		'mergeable' => false,
		'data' => [
			'view' => self::SourceId . '_VIEW_HTML',
			'edit' => self::SourceId . '_EDIT_HTML',
		],
		'editable' => true/*,
		'enableAttributes' => false*/
	];
}