Skip to content

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Feb 5, 2017
1 parent 2f73c54 commit dfe1c13
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/paymill"
,"version": "0.0.2"
,"version": "0.0.3"
,"description": "The «Paymill» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/paymill"
Expand Down
43 changes: 43 additions & 0 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version='1.0'?>
<config
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='urn:magento:module:Df_Config:etc/system_file.xsd'
>
<system>
<section id='df_payment'>
<!--
2015-09-25
1-я и 2-я цифры sortOrder соответствуют порядковому номеру первой буквы модуля
в английском алфавите: https://en.wikipedia.org/wiki/English_alphabet
3-я и 4-я цифры sortOrder соответствуют порядковому номеру второй буквы модуля
в английском алфавите.
-->
<group
id='paymill'
translate='label'
type='text'
sortOrder='1601'
showInDefault='1'
showInWebsite='1'
showInStore='1'
>
<label>Paymill</label>
<dfExtension>Dfe\Paymill\Ext</dfExtension>
<frontend_model>Df\Config\Block\System\Config\Form\Fieldset\Ext</frontend_model>
<field
id='enable'
translate='label'
type='Df\Framework\Form\Element\Checkbox'
sortOrder='1'
showInDefault='1'
showInWebsite='1'
showInStore='1'
>
<label>Enable?</label>
<backend_model>Df\Config\Backend\Checkbox</backend_model>
<comment><![CDATA[Enable the «<a href='https://mage2.pro/c/extensions/paymill' target='_blank'>Paymill</a>» payment extension?]]></comment>
</field>
</group>
</section>
</system>
</config>
11 changes: 11 additions & 0 deletions etc/di.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version='1.0'?>
<config
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='urn:magento:framework:ObjectManager/etc/config.xsd'
>
<virtualType name='Dfe\Paymill\Ext' type='Df\Config\Ext'>
<arguments>
<argument name='name' xsi:type='string'>mage2pro/paymill</argument>
</arguments>
</virtualType>
</config>

0 comments on commit dfe1c13

Please sign in to comment.