Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 * @...
Ramesh Pardhi's user avatar
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?
TiEul's user avatar
  • 1,297