• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/publicaction/history.php
  • Класс: BitrixLandingPublicActionHistory
  • Вызов: History::getForDesignerBlock
static function getForDesignerBlock(int $blockId): PublicActionResult
{
	$result = new PublicActionResult();
	$history = new LandingHistory($blockId, LandingHistory::ENTITY_TYPE_DESIGNER_BLOCK);

	$result->setResult([
		'stack' => $history->getJsStack(),
		'stackCount' => $history->getStackCount(),
		'step' => $history->getStep(),
	]);

	return $result;
}