53 \
Magento\Framework\
Json\EncoderInterface $jsonEncoder,
54 \
Magento\Framework\
App\Cache\Type\Config $configCacheType,
58 \
Magento\Customer\Model\Session $customerSession,
64 $this->_customerSession = $customerSession;
70 $regionCollectionFactory,
71 $countryCollectionFactory,
74 $this->_isScopePrivate =
false;
85 return $this->_scopeConfig->getValue(
$path, \
Magento\Store\Model\ScopeInterface::SCOPE_STORE);
93 $this->pageConfig->getTitle()->set(
__(
'Create New Customer Account'));
94 return parent::_prepareLayout();
104 return $this->_customerUrl->getRegisterPostUrl();
116 $url = $this->_customerUrl->getLoginUrl();
129 if (
$data ===
null) {
130 $formData = $this->_customerSession->getCustomerFormData(
true);
131 $data = new \Magento\Framework\DataObject();
133 $data->addData($formData);
134 $data->setCustomerData(1);
136 if (isset(
$data[
'region_id'])) {
155 return parent::getCountryId();
180 return $this->_moduleManager->isOutputEnabled(
'Magento_Newsletter');
196 $form->restoreData(
$data);
getData($key='', $index=null)
elseif(isset( $params[ 'redirect_parent']))
const XML_PATH_REQUIRED_CHARACTER_CLASSES_NUMBER
setData($key, $value=null)
const XML_PATH_MINIMUM_PASSWORD_LENGTH