File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
app/code/Magento/Catalog/Block/Product
lib/internal/Magento/Framework/Config/etc Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,11 @@ class AbstractProduct extends \Magento\Framework\View\Element\Template
94
94
*/
95
95
protected $ stockRegistry ;
96
96
97
+ /**
98
+ * @var ImageBuilder
99
+ */
100
+ protected $ imageBuilder ;
101
+
97
102
/**
98
103
* @param Context $context
99
104
* @param array $data
Original file line number Diff line number Diff line change 38
38
<xs : attribute name =" value" type =" xs:string" />
39
39
</xs : complexType >
40
40
<xs : complexType name =" mediaType" mixed =" true" >
41
- <xs : all >
42
- <xs : element name =" images" type =" imageType" minOccurs =" 0" />
43
- <xs : element name =" videos" type =" videoType" minOccurs =" 0" />
44
- </xs : all >
41
+ <xs : sequence >
42
+ <xs : element name =" images" type =" imageType" minOccurs =" 0" maxOccurs = " unbounded " />
43
+ <xs : element name =" videos" type =" videoType" minOccurs =" 0" maxOccurs = " unbounded " />
44
+ </xs : sequence >
45
45
</xs : complexType >
46
46
47
47
<xs : complexType name =" imageType" >
You can’t perform that action at this time.
0 commit comments