36 \
Magento\Paypal\Model\Config $paypalConfig,
37 \
Magento\Framework\Locale\ResolverInterface $localeResolver,
40 $this->_paypalConfig = $paypalConfig;
41 $this->_localeResolver = $localeResolver;
42 parent::__construct($context,
$data);
52 return $this->
_getConfig()->getPaymentMarkWhatIsPaypalUrl($this->_localeResolver);
72 $type = $this->getLogoType();
74 $logoUrl = $this->
_getConfig()->getAdditionalOptionsLogoUrl($this->_localeResolver->getLocale(),
$type);
78 $this->setLogoImageUrl($logoUrl);
79 return parent::_toHtml();
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Paypal\Model\Config $paypalConfig, \Magento\Framework\Locale\ResolverInterface $localeResolver, array $data=[])