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