Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
menu_merged.php
Go to the documentation of this file.
1 <?php
6 ?>
7 <?php return [
8  [
9  'type' => 'add',
10  'id' => 'elem_one_zero',
11  'title' => 'Title one.zero',
12  'toolTip' => 'toolTip 1',
13  'module' => 'Module_One',
14  'sortOrder' => 90,
15  'action' => 'adminhtml/system',
16  'resource' => 'Module_One::one_zero',
17  'dependsOnModule' => 'Module_One',
18  'dependsOnConfig' => '/one/two',
19  ],
20  [
21  'type' => 'add',
22  'id' => 'elem_one_one',
23  'title' => 'Title one.one',
24  'toolTip' => 'toolTip 2',
25  'module' => 'Module_One',
26  'sortOrder' => 90,
27  'action' => 'adminhtml/system',
28  'resource' => 'Module_One::one_one',
29  'parent' => 'elem_one_zero',
30  ],
31  [
32  'type' => 'update',
33  'id' => 'elem_one_zero',
34  'title' => 'Title one.zero update',
35  'toolTip' => 'toolTip 3',
36  'module' => 'Module_One_Update',
37  'sortOrder' => 90,
38  'action' => 'adminhtml/system',
39  'parent' => 'elem_one_zero',
40  ],
41  [
42  'type' => 'remove',
43  'id' => 'elem_one_one',
44  ],
45  [
46  'type' => 'add',
47  'id' => 'elem_two_zero',
48  'title' => 'Title two.zero',
49  'toolTip' => 'toolTip 4',
50  'module' => 'Module_Two',
51  'resource' => 'Module_Two::two_zero',
52  'sortOrder' => 90,
53  'action' => 'adminhtml/system',
54  ],
55  [
56  'type' => 'add',
57  'id' => 'elem_two_two',
58  'title' => 'Title two.two',
59  'toolTip' => 'toolTip 5',
60  'module' => 'Module_Two',
61  'sortOrder' => 90,
62  'action' => 'adminhtml/system',
63  'resource' => 'Module_Two::two_two',
64  'parent' => 'elem_two_zero',
65  ],
66  [
67  'type' => 'update',
68  'id' => 'elem_two_zero',
69  'title' => 'Title two.zero update',
70  'toolTip' => 'toolTip 6',
71  'module' => 'Module_Two_Update',
72  'sortOrder' => 90,
73  'action' => 'adminhtml/system',
74  'parent' => 'elem_two_zero',
75  ],
76  [
77  'type' => 'remove',
78  'id' => 'elem_two_two',
79  ],
80 ];