Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-backend
Test
Unit
Model
_files
menu_item_constructor_data.php
Go to the documentation of this file.
1
<?php
7
return
[
8
'default data to constructor'
=> [
9
[],
10
[
11
'id'
=>
'item'
,
12
'title'
=>
'Item Title'
,
13
'action'
=>
'/system/config'
,
14
'resource'
=>
'Magento_Config::config'
,
15
'dependsOnModule'
=>
'Magento_Backend'
,
16
'dependsOnConfig'
=>
'system/config/isEnabled'
,
17
'toolTip'
=>
'Item tooltip'
,
18
],
19
[
20
'parent_id'
=>
null
,
21
'module'
=>
'Magento_Backend'
,
22
'sort_index'
=>
null
,
23
'dependsOnConfig'
=>
'system/config/isEnabled'
,
24
'id'
=>
'item'
,
25
'resource'
=>
'Magento_Config::config'
,
26
'path'
=>
''
,
27
'action'
=>
'/system/config'
,
28
'dependsOnModule'
=>
'Magento_Backend'
,
29
'toolTip'
=>
'Item tooltip'
,
30
'title'
=>
'Item Title'
,
31
'sub_menu'
=>
null
,
32
'target'
=> null
33
],
34
],
35
'data without submenu to constructor'
=> [
36
[
37
'id'
=>
'item'
,
38
'title'
=>
'Item Title'
,
39
'action'
=>
'/system/config'
,
40
'resource'
=>
'Magento_Config::config'
,
41
'dependsOnModule'
=>
'Magento_Backend'
,
42
'dependsOnConfig'
=>
'system/config/isEnabled'
,
43
'toolTip'
=>
'Item tooltip'
,
44
],
45
[
46
'parent_id'
=>
'1'
,
47
'module'
=>
'Magento_Module1'
,
48
'sort_index'
=>
'50'
,
49
'dependsOnConfig'
=>
null
,
50
'id'
=>
'5'
,
51
'resource'
=>
null
,
52
'path'
=>
null
,
53
'action'
=>
null
,
54
'dependsOnModule'
=>
null
,
55
'toolTip'
=>
null
,
56
'title'
=>
null
,
57
'sub_menu'
=> [
58
'id'
=>
'item'
,
59
'title'
=>
'Item Title'
,
60
'action'
=>
'/system/config'
,
61
'resource'
=>
'Magento_Config::config'
,
62
'dependsOnModule'
=>
'Magento_Backend'
,
63
'dependsOnConfig'
=>
'system/config/isEnabled'
,
64
'toolTip'
=>
'Item tooltip'
,
65
],
66
],
67
[
68
'parent_id'
=>
'1'
,
69
'module'
=>
'Magento_Module1'
,
70
'sort_index'
=>
'50'
,
71
'dependsOnConfig'
=>
null
,
72
'id'
=>
'5'
,
73
'resource'
=>
null
,
74
'path'
=>
''
,
75
'action'
=>
null
,
76
'dependsOnModule'
=>
null
,
77
'toolTip'
=>
''
,
78
'title'
=>
null
,
79
'sub_menu'
=> [
'submenuArray'
],
80
'target'
=> null
81
],
82
],
83
'data with submenu to constructor'
=> [
84
[
85
'parent_id'
=>
'1'
,
86
'module'
=>
'Magento_Module1'
,
87
'sort_index'
=>
'50'
,
88
'dependsOnConfig'
=>
null
,
89
'id'
=>
'5'
,
90
'resource'
=>
null
,
91
'path'
=>
null
,
92
'action'
=>
null
,
93
'dependsOnModule'
=>
null
,
94
'toolTip'
=>
null
,
95
'title'
=>
null
,
96
'sub_menu'
=> [
97
'id'
=>
'item'
,
98
'title'
=>
'Item Title'
,
99
'action'
=>
'/system/config'
,
100
'resource'
=>
'Magento_Config::config'
,
101
'dependsOnModule'
=>
'Magento_Backend'
,
102
'dependsOnConfig'
=>
'system/config/isEnabled'
,
103
'toolTip'
=>
'Item tooltip'
,
104
],
105
],
106
[
107
'parent_id'
=>
'1'
,
108
'module'
=>
'Magento_Module1'
,
109
'sort_index'
=>
'50'
,
110
'sub_menu'
=> [
111
'id'
=>
'item'
,
112
'title'
=>
'Item Title'
,
113
'action'
=>
'/system/config'
,
114
'resource'
=>
'Magento_Config::config'
,
115
'dependsOnModule'
=>
'Magento_Backend'
,
116
'dependsOnConfig'
=>
'system/config/isEnabled'
,
117
'toolTip'
=>
'Item tooltip'
,
118
],
119
],
120
[
121
'parent_id'
=>
'1'
,
122
'module'
=>
'Magento_Module1'
,
123
'sort_index'
=>
'50'
,
124
'dependsOnConfig'
=>
null
,
125
'id'
=>
null
,
126
'resource'
=>
null
,
127
'path'
=>
''
,
128
'action'
=>
null
,
129
'dependsOnModule'
=>
null
,
130
'toolTip'
=>
''
,
131
'title'
=>
null
,
132
'sub_menu'
=> [
'submenuArray'
],
133
'target'
=> null
134
],
135
]
136
];