• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/timeline/pusher.php
  • Класс: Bitrix\Crm\Timeline\Pusher
  • Вызов: Pusher::isCommandShouldBeSentToItemDetailsPage
protected function isCommandShouldBeSentToItemDetailsPage(string $command): bool
{
	// events with this commands should be sent to item (deal, quote) details page
	$itemDetailsCommands = [
		static::ADD_ACTIVITY_PULL_COMMAND,
		static::ITEM_ACTION_COMMAND,
	];

	return in_array($command, $itemDetailsCommands, true);
}