Interface
GridInterface
Magento\Sales\Model\ResourceModel\GridInterface
What it does
This interface defines the contract for managing Magento 2 sales grid tables (like order grid, invoice grid, shipment grid).
Developers use implementations of this interface to refresh grid data when sales entities are created or updated, ensuring the admin grids display current information.
The methods allow for targeted refreshes of specific records or scheduled batch updates.
Public Methods
- refresh()
- refreshBySchedule()
- purge()