- Модуль: market
- Путь к файлу: ~/bitrix/modules/market/lib/Controller/Application.php
- Класс: BitrixMarketControllerApplication
- Вызов: Application::getContextAction
public function getContextAction(string $from = ''): array
{
$landingCode = '';
if (Loader::includeModule('rest')) {
$landingCode = Access::getHelperCode(Access::ACTION_BUY);
}
return [
'linkInstall' => Link::getInstallPage('', null, null, null, $from),
'subscriptionLinkBuy' => Link::getSubscriptionBuy($from),
'subscriptionBuyLandingCode' => $landingCode,
];
}