Boost your Magento 2 store’s performance by building top-performing extensions using PHP Storm. Learn more here!

How to create Form Buttons?
Anna Kosheva
January 4, 2023
Many of our users ask how to add a button in Magento 2 backend configuration section and call a simple PHP method when clicking on it. That’s relatively easy to do.
To create buttons for our UI form, we have to perform two steps:
- Edit UI Component XML File and add configuration to the new button
- Create Button PHP classes that are going to be responsible for our controls.
What will we do next? Watch the video.
Anna Kosheva
January 4, 2023
Sign up and don't miss our awesome Mage Mastery lessons and updates!
If you like this blog post, you may want to watch
Intermediate
Beginner