Adobe AD0-E704 Exam - Topic 5 Question 11 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
Wai
7 months agoOdette
7 months agoPaulina
8 months agoFreeman
8 months agoMelodie
8 months agoKaycee
8 months agoTwana
8 months agoJunita
8 months agoMisty
8 months agoHillary
8 months agoEdna
9 months agoLeandro
9 months ago