Your IP : 3.138.113.186
<?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');
}
}