-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsystem.xml
120 lines (105 loc) · 6.9 KB
/
system.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0"?>
<!-- @author Artemii Karkusha -->
<!-- @copyright Copyright (c) (https://www.linkedin.com/in/artemiy-karkusha/) -->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<tab id="AdobeCommercePreparingToCertification" translate="label" sortOrder="10">
<label>AdobeCommercePreparingToCertification</label>
</tab>
<section id="delivery_service_management" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="10"
translate="label">
<label>Delivery Service Management</label>
<tab>AdobeCommercePreparingToCertification</tab>
<resource>ArtemiiKarkusha_AdobeCommercePreparingToCertification::delivery_service_management</resource>
<group id="examples_of_all_field_types" translate="label comment" sortOrder="10" showInDefault="1"
showInWebsite="0" showInStore="1">
<label>Examples of all field types</label>
<comment>Translated comment</comment>
<field id="field_type_is_text" translate="label" type="text" sortOrder="10" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is text</label>
</field>
<field id="field_type_is_textarea" translate="label" type="textarea" sortOrder="20" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is textarea</label>
</field>
<field id="field_type_is_select_yesno" translate="label" type="select" sortOrder="30" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is select (Yesno)</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
<field id="field_type_is_select_list" translate="label" type="select" sortOrder="40" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is select</label>
<source_model>ArtemiiKarkusha\AdobeCommercePreparingToCertification\Model\Config\Source\ListOfValues</source_model>
</field>
<field id="field_type_is_multiselect" translate="label" type="multiselect" sortOrder="50"
showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is multiselect</label>
<source_model>ArtemiiKarkusha\AdobeCommercePreparingToCertification\Model\Config\Source\ListOfValues</source_model>
</field>
<field id="field_type_is_button" translate="label" type="button" sortOrder="60" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is button</label>
<frontend_model>ArtemiiKarkusha\AdobeCommercePreparingToCertification\Block\Block\System\Config\Form\Field\ExampleOfButton</frontend_model>
</field>
<field id="field_type_is_obscure" translate="label" type="obscure" sortOrder="70" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is obscure</label>
<backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
</field>
<field id="field_type_is_password" translate="label" type="password" sortOrder="80" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is password</label>
</field>
<field id="field_type_is_file" translate="label" type="file" sortOrder="90" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is file</label>
</field>
<field id="field_type_is_label" translate="label" type="label" sortOrder="100" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is label</label>
<frontend_model>Magento\Config\Block\System\Config\Form\Field\Notification</frontend_model>
</field>
<field id="sallowspecific" translate="label" type="select" sortOrder="110" showInDefault="1"
showInWebsite="1" canRestore="1">
<label>Ship to Applicable Countries</label>
<frontend_class>shipping-applicable-country</frontend_class>
<source_model>Magento\Shipping\Model\Config\Source\Allspecificcountries</source_model>
</field>
<field id="specificcountry" translate="label" type="multiselect" sortOrder="120" showInDefault="1"
showInWebsite="1">
<label>Ship to Specific Countries</label>
<source_model>Magento\Directory\Model\Config\Source\Country</source_model>
<can_be_empty>1</can_be_empty>
<depends>
<field id="sallowspecific">1</field>
</depends>
</field>
<field id="field_type_is_image" translate="label" type="image" sortOrder="130" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is image</label>
<backend_model>Magento\Config\Model\Config\Backend\Image</backend_model>
<upload_dir config="system/filesystem/media" scope_info="1">field_type_is_image</upload_dir>
<base_url type="media" scope_info="1">field_type_is_image</base_url>
</field>
<field id="field_type_is_note" translate="label" type="note" sortOrder="140" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Field type is note</label>
<frontend_model>ArtemiiKarkusha\AdobeCommercePreparingToCertification\Block\Block\System\Config\Form\Field\FieldTypeIsNote</frontend_model>
</field>
</group>
<group id="needed_configs_for_code_examples" translate="label comment" sortOrder="10" showInDefault="1">
<label>Needed configs for code examples</label>
<!--2.3-->
<field id="scheduled_cron_time_for_upload_information_about_items_to_delivery_services"
translate="label" type="text" sortOrder="10" showInDefault="1"
showInWebsite="0" showInStore="0">
<label>Scheduled Cron Time For Upload Information About Items To Delivery Services</label>
</field>
</group>
</section>
</system>
</config>