Last active
December 17, 2015 15:18
-
-
Save xcommerce-gists/5630203 to your computer and use it in GitHub Desktop.
Magento app/config.xml showing custom data format factory for extensibility alpha-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<global> | |
<webhook> | |
<formats> | |
<json> | |
<label>My-JSON</label> | |
<options> | |
<default_formatter>Mage_Webhook_Model_Formatter_Json</default_formatter> | |
</options> | |
<formatter_factory>MyCustomClass_Webhook_Model_Formatter_Factory_Json</formatter_factory> | |
</json> | |
</formats> | |
<subscriber_id> | |
<version>1.1</version> | |
<format>My-JSON</format> | |
<name>Test subscriber</name> | |
... portions omitted intentionally | |
</subscriber_id> | |
</webhook> | |
</global> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment