Skip to content

Commit

Permalink
#73 Move backend configuration to customer > customer configuration s…
Browse files Browse the repository at this point in the history
…ection
  • Loading branch information
Florian Horn committed Jul 11, 2017
1 parent 7b80ab8 commit 8fdbdfc
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
<?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="bitExpert_ForceCustomerLogin" translate="label" sortOrder="400">
<label>Force Login</label>
</tab>

<section id="bitExpert_ForceCustomerLogin" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Configuration</label>
<tab>bitExpert_ForceCustomerLogin</tab>
<resource>BitExpert_ForceCustomerLogin::bitexpert_force_customer_login_manage</resource>
<group id="general" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>General</label>
<section id="customer" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<group id="bitExpert_ForceCustomerLogin" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>bitExpert Force Customer Login</label>
<resource>BitExpert_ForceCustomerLogin::bitexpert_force_customer_login_manage</resource>
<field id="enabled" translate="label comment" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Enable Module</label>
<comment>Configures if the module is enabled</comment>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
</group>
<group id="target" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Target</label>
<field id="url" translate="label comment" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Target URL</label>
<comment>Configures the target for redirecting, if whitelist rules do not match</comment>
Expand Down

0 comments on commit 8fdbdfc

Please sign in to comment.