31 \
Magento\Customer\Helper\Address $addressHelper,
35 $this->_addressHelper = $addressHelper;
37 parent::__construct($context,
$data);
38 $this->_isScopePrivate =
true;
47 return $this->_addressHelper->getConfig($key);
55 if (!$this->
hasData(
'field_id_format')) {
56 $this->
setData(
'field_id_format',
'%s');
58 return $this->
getData(
'field_id_format');
66 if (!$this->
hasData(
'field_name_format')) {
67 $this->
setData(
'field_name_format',
'%s');
69 return $this->
getData(
'field_name_format');
99 return $this->customerMetadata->getAttributeMetadata(
$attributeCode);
100 }
catch (\
Magento\Framework\Exception\NoSuchEntityException $e) {
getData($key='', $index=null)
setData($key, $value=null)