Open m2-assistant[bot] opened 5 months ago
Hi @engcom-November. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hello @bartekAtconvert,
Thank you for the report and collaboration!
As you are adding a new attribute ifconfig
to events.xml
, so that the observer's execution can be conditioned.
This can be considered as a feature request. Hence marking it the same.
Thank you.
This issue is automatically created based on existing pull request: magento/magento2#38493: Extend Observer declaration in events.xml by new attribute ifconfig
Description (*)
Extension of Observer declaration in events.xml by new optional attribute ifconfig with appropriate handling of it. Similar to usage of ifconfig in layout's xml files - it executes (or not) Observer depending on boolean value of given config path. The purpose is to condition Observer's execution on config paths representing module's state - usually <module/general/active> or <module/general/enabled> etc.
Manual testing scenarios (*)
Contribution checklist (*)