Your IP : 3.138.113.186


Current Path : /var/www/admin_ftp_12/data/www/httpdocs/bitrix/components/bitrix/fileman.field.address/
Upload File :
Current File : /var/www/admin_ftp_12/data/www/httpdocs/bitrix/components/bitrix/fileman.field.address/class.php

<?php

if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();

use Bitrix\Main\Component\BaseUfComponent;
use Bitrix\Fileman\UserField\Types\AddressType;
use Bitrix\Main\Localization\Loc;

\Bitrix\Main\Loader::includeModule('location');

/**
 * Class AddressUfComponent
 */
class AddressUfComponent extends BaseUfComponent
{
	protected static function getUserTypeId(): string
	{
		return AddressType::USER_TYPE_ID;
	}

	public function getLocationModuleMessage(): string
	{
		return Loc::getMessage('FILEMAN_ADDRESS_UF_LOCATION_NOTICE');
	}
}