Adobe AD0-E704 Exam - Topic 9 Question 51 Discussion
You are creating a module lo enable customers to attach an image file to the quote items while adding a product to the cart. To save development time, you want to build on top of functionality provided by the class \Magento\Catalog\Model\ImageUploader as much as possible.The class constructor signature is:What do you do to process the uploaded file?
D) Configure a Virtual type based on \Magento\Catalog\Model\ImageUploader Specifying $baseTmpPath. $basePath and SallowedExtensions
A) Configure a plugin for the method \Magento\Catalog\Model\ImageUploader: moveFileFromTmp() in di. xml
B) Create a custom implementation because the catalog imageUploader can not be used to for files associated with quote items
C) Create a custom Class implementing \Magento\Catalog\Model\ImageUploaderInterface and add it to the $uploaders argument of the UploaderPoolinterface via di.xml
Hildegarde
8 months agoReta
8 months agoErasmo
8 months agoThaddeus
9 months agoRebecka
9 months agoKristofer
9 months agoSalome
9 months agoMaddie
10 months agoGalen
10 months agoSalena
10 months agoParis
10 months agoKenneth
10 months agoLuke
10 months agoNicolette
2 years agoYoulanda
2 years agoOna
2 years agoAlise
2 years agoWerner
2 years agoLou
2 years agoKristian
2 years agoRichelle
2 years agoIrma
2 years agoMy
2 years agoAimee
2 years agoToshia
2 years agoErnestine
2 years agoJohnna
2 years agoEttie
2 years agoWynell
2 years agoKaty
2 years ago