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 @@ -96,6 +96,11 @@ class AbstractProduct extends \Magento\Framework\View\Element\Template
96
96
*/
97
97
protected $ stockRegistry ;
98
98
99
+ /**
100
+ * @var ImageBuilder
101
+ */
102
+ protected $ imageBuilder ;
103
+
99
104
/**
100
105
* @param Context $context
101
106
* @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