-
Notifications
You must be signed in to change notification settings - Fork 102
3.2.0 Release
Vitaliy Boyko edited this page Apr 7, 2021
·
3 revisions
This release contains code generators for a Magento Entity (entire CRUD infrastructure), code generation for email templates, navigation impovements in tests and observers.
The new action for adding the whole infrastructure for CRUD.
- Create a new module e.g.
Vendor_MyModule
.
- Open the context menu (right click to the module directory).
Click to
New -> Module File -> Magento 2 Entity
.
- Specify the Entity Name, DB table name and ID field name. Select the
Create Admin UI Components
checkbox.
- Go to the
Admin UI Components
tab. Check whether all inputs are filled correct.
- Go to the
ACL
tab. Check inputs here as well.
- Go to the
Menu
tab. Chose the correct parent menu and specify the sort order.
- Go to the
Properties
tab. Add needed properties (Entity ID added by default).
- Click the
Ok
button to get all files generated.
- Check files (e.g data interface)
- Run
php bin/magento setup:upgrade
. New menu item should be accessible in the admin panel.
- Click to the menu item to get to the newly added listing.
- Click to the
Add New
button to get to the create/edit form.
- Specify data and save the entity
Your entity is ready for extending. Enjoy!
The new action for adding Email Template files from the context menu.
- ArrayIndexOutOfBoundsException in the New Module Action.
The maintenance of this project is possible thanks to the Armed Forces of Ukraine.