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
10 months agoOdette
11 months agoPaulina
11 months agoFreeman
11 months agoMelodie
11 months agoKaycee
11 months agoTwana
11 months agoJunita
11 months agoMisty
11 months agoHillary
12 months agoEdna
12 months agoLeandro
12 months ago