Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
dependencies_mapped.php
Go to the documentation of this file.
1 <?php
7 return [
8  'config' => [
9  'system' => [
10  'sections' => [
11  'section_1' => [
12  'id' => 'section_1',
13  '_elementType' => 'section',
14  'children' => [
15  'group_1' => [
16  'id' => 'group_1',
17  '_elementType' => 'group',
18  'path' => 'section_1',
19  'depends' => [
20  'fields' => [
21  'field_2' => [
22  'id' => 'section_1/group_1/field_2',
23  'value' => 10,
24  'dependPath' => [
25  'section_1',
26  'group_1',
27  'field_2',
28  ],
29  ],
30  ],
31  ],
32  'children' => [
33  'field_2' => [
34  'id' => 'field_2',
35  '_elementType' => 'field',
36  ],
37  ],
38  ],
39  'group_2' => [
40  'id' => 'group_2',
41  '_elementType' => 'group',
42  'children' => [
43  'field_3' => [
44  'id' => 'field_3',
45  '_elementType' => 'field',
46  ],
47  ],
48  ],
49  ],
50  ],
51  'section_2' => [
52  'id' => 'section_2',
53  '_elementType' => 'section',
54  'children' => [
55  'group_3' => [
56  'id' => 'group_3',
57  '_elementType' => 'group',
58  'children' => [
59  'field_3' => [
60  'id' => 'field_3',
61  '_elementType' => 'field',
62  'path' => 'section_2/group_3',
63  'depends' => [
64  'fields' => [
65  'field_4' => [
66  'id' => 'section_2/group_3/field_4',
67  'value' => 'someValue',
68  'dependPath' => [
69  'section_2',
70  'group_3',
71  'field_4',
72  ],
73  ],
74  'field_1' => [
75  'id' => 'section_1/group_3/field_1',
76  'value' => 'someValue',
77  'dependPath' => [
78  'section_1',
79  'group_3',
80  'field_1',
81  ],
82  ],
83  ],
84  ],
85  ],
86  'field_4' => [
87  'id' => 'field_4',
88  '_elementType' => 'field',
89  'path' => 'section_2/group_3',
90  'depends' => [
91  'fields' => [
92  'field_3' => [
93  'id' => 'section_2/group_3/field_3',
94  'value' => 0,
95  'dependPath' => [
96  'section_2',
97  'group_3',
98  'field_3',
99  ],
100  ],
101  ],
102  ],
103  ],
104  'group_4_1' => [
105  'id' => 'group_4_1',
106  '_elementType' => 'group',
107  'path' => 'section_2/group_3',
108  'depends' => [
109  'fields' => [
110  'field_3' => [
111  'id' => 'section_2/group_3/field_3',
112  'value' => 0,
113  'dependPath' => [
114  'section_2',
115  'group_3',
116  'field_3',
117  ],
118  ],
119  ],
120  ],
121  'children' => [
122  'field_5' => [
123  'id' => 'field_5',
124  '_elementType' => 'field',
125  'path' => 'section_2/group_3/group_4_1',
126  'depends' => [
127  'fields' => [
128  'field_4' => [
129  'id' => 'section_2/group_3/group_4_1/field_4',
130  'value' => 'someValue',
131  'dependPath' => [
132  'section_2',
133  'group_3',
134  'group_4_1',
135  'field_4',
136  ],
137  ],
138  ],
139  ],
140  ],
141  ],
142  ],
143  ],
144  ],
145  ],
146  ],
147  ],
148  ],
149  ],
150 ];