• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/controller/cookies.php
  • Класс: BitrixLandingControllerCookies
  • Вызов: Cookies::acceptAgreementsAction
public function acceptAgreementsAction(int $siteId, array $accepted = []): void
{
	BitrixLandingSiteCookies::acceptAgreement($siteId, $accepted);
}