All Questions
2 questions
0
votes
1
answer
2k
views
What is override preference, block, model and preference? [duplicate]
I want to edit Magento 2 core function:
/**
* Build category URL path
*
* @param \Magento\Catalog\Api\Data\CategoryInterface|\Magento\Framework\Model\AbstractModel $category
* @...
8
votes
2
answers
3k
views
Magento 2 - Programmatically Check Magento Version (CE / EE)
Does anyone know the best way a module can check if it is being executed on Magento 2 Enterprise Edition and which exact version number is being used?