Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
eav_expected_meta_output.php
Go to the documentation of this file.
1 <?php
7 return [
8  "product-details" => [
9  "arguments" => [
10  "data" => [
11  "config" => [
12  "dataScope" => "data.product",
13  ],
14  ],
15  ],
16  "children" => [
17  "container_status" => [
18  "children" => [
19  "status" => [
20  "arguments" => [
21  "data" => [
22  "config" => [
23  "dataType" => "select",
24  "formElement" => "select",
25  "options" => [
26  [
27  "value" => 1,
28  "label" => "Enabled"
29  ],
30  [
31  "value" => 2,
32  "label" => "Disabled"
33  ]
34  ],
35  "visible" => "1",
36  "required" => "0",
37  "label" => "Enable Product",
38  "source" => "product-details",
39  "scopeLabel" => "[WEBSITE]",
40  "globalScope" => false,
41  "code" => "status",
42  "sortOrder" => "__placeholder__",
43  "service" => [
44  "template" => "ui/form/element/helper/service"
45  ],
46  "componentType" => "field"
47  ],
48  ],
49  ],
50  ],
51  ],
52  ],
53  "container_name" => [
54  "children" => [
55  "name" => [
56  "arguments" => [
57  "data" => [
58  "config" => [
59  "dataType" => "text",
60  "formElement" => "input",
61  "visible" => "1",
62  "required" => "1",
63  "label" => "Product Name",
64  "source" => "product-details",
65  "scopeLabel" => "[STORE VIEW]",
66  "globalScope" => false,
67  "code" => "name",
68  "sortOrder" => "__placeholder__",
69  "service" => [
70  "template" => "ui/form/element/helper/service"
71  ],
72  "componentType" => "field",
73  "validation" => [
74  "required-entry" => true
75  ],
76  ],
77  ],
78  ],
79  ],
80  ],
81  ],
82  "container_sku" => [
83  "children" => [
84  "sku" => [
85  "arguments" => [
86  "data" => [
87  "config" => [
88  "dataType" => "text",
89  "formElement" => "input",
90  "visible" => "1",
91  "required" => "1",
92  "label" => "SKU",
93  "source" => "product-details",
94  "scopeLabel" => "[GLOBAL]",
95  "globalScope" => true,
96  "code" => "sku",
97  "sortOrder" => "__placeholder__",
98  "componentType" => "field",
99  "validation" => [
100  "required-entry" => true
101  ],
102  ],
103  ],
104  ],
105  ],
106  ],
107  ],
108  "container_price" => [
109  "children" => [
110  "price" => [
111  "arguments" => [
112  "data" => [
113  "config" => [
114  "dataType" => "price",
115  "formElement" => "input",
116  "visible" => "1",
117  "required" => "1",
118  "label" => "Price",
119  "source" => "product-details",
120  "scopeLabel" => "[GLOBAL]",
121  "globalScope" => true,
122  "code" => "price",
123  "sortOrder" => "__placeholder__",
124  "componentType" => "field",
125  "validation" => [
126  "required-entry" => true
127  ]
128  ],
129  ],
130  ],
131  ],
132  ],
133  ],
134  ],
135  ],
136 ];