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
9 months agoMalissa
9 months agoAnnelle
9 months agoTamesha
9 months agoMaryln
10 months agoSalome
10 months agoClay
10 months agoLawrence
10 months agoVivan
10 months agoShizue
10 months agoKathrine
10 months agoWillow
10 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