Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
is possible to override core plugin method by preference?
Means I need to override afterXyz method in my module by using preference.
You can disable the Plugin with disabled="true". For example:
<plugin name="storeCheck" disabled="true" />
<plugin name="storeCheckCustom" type="Vendor\Module\Model\Plugin\StoreCheck" sortOrder="99" />
Required, but never shown