• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Timeline/Item/Configurable.php
  • Класс: Bitrix\Crm\Service\Timeline\Item\Configurable
  • Вызов: Configurable::getUnpinAction
private function getUnpinAction(): Layout\Action
{
	return (new RunAjaxAction('crm.timeline.item.unpin'))
		->addActionParamInt('id', $this->getModel()->getId())
		->addActionParamInt('ownerTypeId', $this->getContext()->getEntityTypeId())
		->addActionParamInt('ownerId', $this->getContext()->getEntityId())
	;
}