di.xml Archives - Magesan

Tag: di.xml

Multiselect Ui field at admin product edit form in Magento 2

Create a file at Magesan/extension/etc/adminhtml/di.xml Create a file at path :- Magesan/Extension/Model/Source/UiContent.php This file is responsible for returning options to the multiselect field. Create a file at Magesan\Extension\Ui\DataProvider\Product\Form\Modifier\UiContent.php Happy Coding…

How to create an extension or module in magento 2

Magento2 custom module creation allow to add new feature to your magento store. It will open all the resources for you to adding rich features to your ecommerce store beyond limits. For creating Extension in magento2 we need to create 2 mandatory files for recognizing magento2 as our extension.1) registration.php2) etc/module.xml Let’s give our extension