Is it possible to use PHP class constants as values in the config.xml file?
For example, if we have this config.xml file:
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
<default>
<custommodule>
<settings>
<is_active>1</is_active>
<mode>MODE</mode>
<send_notification_email>0</send_notification_email>
</settings>
</custommodule>
</default>
</config>
I would like to use a PHP class constant to output the value for the "mode". Is there a way to achieve this?