| Current Path : /home/rtorresani/www/vendor/iubenda/module-cookiesolution/etc/adminhtml/ |
| Current File : //home/rtorresani/www/vendor/iubenda/module-cookiesolution/etc/adminhtml/system.xml |
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<tab id="iubenda_tab" translate="label" sortOrder="500">
<label>iubenda</label>
</tab>
<section id="iubenda" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
<label>iubenda Cookie Solution</label>
<tab>iubenda_tab</tab>
<resource>Iubenda_CookieSolution::settings_permission</resource>
<group id="settings" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Settings</label>
<field id="blocking_enabled" translate="label comment" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Scripts blocking</label>
<comment>Automatically block scripts detected by the plugin.</comment>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
<field id="experimental_mode" translate="label comment" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Parsing engine</label>
<comment>Select parsing engine.</comment>
<source_model>Iubenda\CookieSolution\Model\Config\Source\Radiobtn</source_model>
</field>
</group>
<group id="code" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Code</label>
<field id="jscode" translate="label comment" type="textarea" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>JavaScript code</label>
<comment><![CDATA[Enter the <a target="_blank" href="https://iubenda.com/en/dashboard">iubenda code</a>.]]></comment>
</field>
</group>
<group id="custom" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Custom</label>
<field id="scripts" translate="label comment" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Scripts</label>
<frontend_model>Iubenda\CookieSolution\Block\Adminhtml\Form\Field\CustomScripts</frontend_model>
<backend_model>Magento\Config\Model\Config\Backend\Serialized\ArraySerialized</backend_model>
<comment>Provide a list of custom scripts you'd like to block and assign their purpose.</comment>
</field>
<field id="iframes" translate="label comment" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Iframes</label>
<frontend_model>Iubenda\CookieSolution\Block\Adminhtml\Form\Field\CustomIframes</frontend_model>
<backend_model>Magento\Config\Model\Config\Backend\Serialized\ArraySerialized</backend_model>
<comment>Provide a list of custom iframes you'd like to block and assign their purpose.</comment>
</field>
</group>
</section>
</system>
</config>