Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit d59879ef authored by Nicolas's avatar Nicolas
Browse files

Ajout des classes dans le di.xml

parent 6596132f
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="NicolasBejean\Importer\Model\ImageUploader">
<arguments>
<argument name="baseTmpPath" xsi:type="string">importer/tmp/product/image</argument>
<argument name="basePath" xsi:type="string">importer/product/image</argument>
<argument name="allowedExtensions" xsi:type="array">
<item name="jpg" xsi:type="string">jpg</item>
<item name="jpeg" xsi:type="string">jpeg</item>
<item name="gif" xsi:type="string">gif</item>
<item name="png" xsi:type="string">png</item>
</argument>
<argument name="allowedMimeTypes" xsi:type="array">
<item name="jpg" xsi:type="string">image/jpg</item>
<item name="jpeg" xsi:type="string">image/jpeg</item>
<item name="gif" xsi:type="string">image/gif</item>
<item name="png" xsi:type="string">image/png</item>
</argument>
</arguments>
</type>
<type name="NicolasBejean\Importer\Console\TestCommand\ProductImages">
<arguments>
<argument name="name" xsi:type="string">nicolasbejean:importer:test:productimages</argument>
</arguments>
</type>
<type name="Magento\Framework\Console\CommandListInterface">
<arguments>
<argument name="commands" xsi:type="array">
<item name="testproductimages" xsi:type="object">NicolasBejean\Importer\Console\TestCommand\ProductImages</item>
</argument>
</arguments>
</type>
</config>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment