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
10 months agoMalissa
11 months agoAnnelle
11 months agoTamesha
11 months agoMaryln
11 months agoSalome
11 months agoClay
11 months agoLawrence
11 months agoVivan
11 months agoShizue
12 months agoKathrine
12 months agoWillow
12 months agoLinwood
1 year agoOliva
1 year agoBurma
1 year agoAlberta
1 year agoAmber
1 year agoNieves
1 year agoMarcelle
1 year 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