Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/vendor/stripe/module-payments/Model/Adminhtml/Source/
Upload File :
Current File : //home/rtorresani/www/vendor/stripe/module-payments/Model/Adminhtml/Source/ModuleVersion.php

<?php

namespace StripeIntegration\Payments\Model\Adminhtml\Source;

class ModuleVersion extends \Magento\Config\Block\System\Config\Form\Field
{
    public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
    {
        $element->unsScope()->unsCanUseWebsiteValue()->unsCanUseDefaultValue();
        return parent::render($element);
    }

    protected function _getElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element)
    {
        return \StripeIntegration\Payments\Model\Config::$moduleVersion;
    }
}