• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/infrastructure/formatcode.php
  • Класс: BitrixLocationInfrastructureFormatCode
  • Вызов: FormatCode::getCurrent
static function getCurrent(string $regionId = null, string $siteId = ''): string
{
	return Option::get(
		'location',
		static::$optionName,
		static::getDefault($regionId),
		$siteId
	);
}