Adobe AD0-E704 Exam - Topic 3 Question 15 Discussion
You are working on a project with custom code located in an observer MyCompany\MyModule\Observer\Custom on the catalog_product_load_before event. How do you prevent your custom observer from being executed on a staging preview?
C) By specifying an attribute excude_from_staging_previwe*=''i'' in the declaration of the observer in the events.xml file
A) By adding your observer to the bannedobserver parameter of Magento\staging\Model\Event\Manager using di. xml
B) By moving your observer to the staged_catalog_product_load_before event
D) No action is required, the catalog_product_ioad_before event is excluded from the execution on staging preview
Youlanda
7 months agoMalissa
7 months agoAnnelle
8 months agoTamesha
8 months agoMaryln
8 months agoSalome
8 months agoClay
8 months agoLawrence
8 months agoVivan
8 months agoShizue
8 months agoKathrine
8 months agoWillow
9 months agoLinwood
1 year agoOliva
1 year agoBurma
1 year agoAlberta
1 year agoAmber
1 year agoNieves
1 year agoMarcelle
12 months agoEdward
1 year agoGlory
1 year agoGeorgene
1 year agoGertude
1 year agoAdela
1 year agoWerner
1 year agoYoulanda
1 year agoClorinda
1 year agoMelodie
1 year agoDorsey
1 year agoCarin
1 year agoGerald
1 year agoAlline
1 year agoGerald
1 year ago