Hi I am working with the Magento 2 constant, the following constant i want to use in XML file

class Data extends \Magento\Framework\App\Helper\AbstractHelper

    const CUSTOM_TAX_CODE = 'customtax';

Is there have any way to use this class constant value in XML.

Thanks in advance for you better support and help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.