• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Timeline/Item/LogMessage/DocumentViewed.php
  • Класс: Bitrix\Crm\Service\Timeline\Item\LogMessage\DocumentViewed
  • Вызов: DocumentViewed::getContentBlocks
public function getContentBlocks(): ?array
{
	$blocks = [];

	$blocks['title'] =
		(new Link())
			->setValue($this->getDocument()->getTitle())
			->setAction($this->getOpenDocumentAction())
	;

	return $blocks;
}