• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/runtime/env.php
  • Класс: Bitrix\Sender\Runtime\Env
  • Вызов: Env::isTransportNeedConsent
static function isTransportNeedConsent(string $code) : bool
{
	return Option::get('sender', "{$code}_consent") === 'Y';
}