• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Timeline/Item/Pusher.php
  • Класс: Bitrix\Crm\Service\Timeline\Item\Pusher
  • Вызов: Pusher::preparePullEventParams
private function preparePullEventParams(array $actionParams = []): array
{
	$result = [
		'id' => $this->item->getModel()->getId(),
		'item' => $this->item->jsonSerialize(),
		'stream' => $this->getItemStreamName(),
	];
	if (!empty($actionParams))
	{
		$result['params'] = $actionParams;
	}

	return $result;
}