Skip to content

Commit

Permalink
Add the setup class as a virtual type so that it can be used in produ…
Browse files Browse the repository at this point in the history
…ction mode. Increase the version.
  • Loading branch information
paulpartington-cti committed May 16, 2017
1 parent d22b327 commit a31ad68
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"satooshi/php-coveralls": "^1.0",
"phpunit/phpunit": "4.1.0"
},
"version": "0.15.1-dev",
"version": "0.15.2-dev",
"autoload": {
"files": [ "registration.php" ],
"psr-4": {
Expand Down
12 changes: 12 additions & 0 deletions etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,16 @@
</argument>
</arguments>
</type>

<virtualType name="CtiDigital\Configurator\Setup\Module\DataSetup" type="Magento\Setup\Module\DataSetup">
<arguments>
<argument name="context" xsi:type="object">Magento\Framework\Module\Setup\Context</argument>
</arguments>
</virtualType>

<type name="Magento\Eav\Setup\EavSetup">
<arguments>
<argument name="setup" xsi:type="object">CtiDigital\Configurator\Setup\Module\DataSetup</argument>
</arguments>
</type>
</config>

0 comments on commit a31ad68

Please sign in to comment.