0
<group id="placeholder" translate="label" sortOrder="300" showInDefault="1" showInWebsite="1" showInStore="1">
    <label>Product Image Placeholders</label>
    <clone_fields>1</clone_fields>
    <clone_model>Magento\Catalog\Model\Config\CatalogClone\Media\Image</clone_model>
    <field id="placeholder" type="image" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
        <backend_model>Magento\Config\Model\Config\Backend\Image</backend_model>
        <upload_dir config="system/filesystem/media" scope_info="1">catalog/product/placeholder</upload_dir>
        <base_url type="media" scope_info="1">catalog/product/placeholder</base_url>
    </field>
</group>

I have come across source_model, backend_model but this clone_model is seen the first time.

1

Reference Link

Reference Link 2

clone_fields and clone_model:- These are use to Create Configuration field Duplicates with some Prefixes.

clone_fields is a boolean and clone_model is the contains the model class that should be used for retrieving the prefixes.The model should contain getPrefixes() methods that will return an array of an assocateive array that will contain all fields and label

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.