DataProvider
Magento\SalesRule\Model\Rule\DataProvider
What it does
This DataProvider class supplies sales rule data to the Admin UI form for creating and editing cart price rules (promotions).
Developers use this class when customizing the sales rule edit form, as it loads rule data from the database, handles store labels, and manages temporarily persisted form data.
It's automatically invoked by Magento's UI components when rendering the cart price rule admin interface.
Public Methods
- getData()