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
7 months agoReta
7 months agoErasmo
7 months agoThaddeus
7 months agoRebecka
7 months agoKristofer
8 months agoSalome
8 months agoMaddie
8 months agoGalen
8 months agoSalena
8 months agoParis
8 months agoKenneth
8 months agoLuke
8 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