Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Sales\Model\GridAsyncInsert $asyncInsert) | |
execute () | |
Protected Attributes | |
$asyncInsert | |
Sales entity grids indexing observer.
Performs handling cron jobs related to indexing of Order, Invoice, Shipment and Creditmemo grids.
Definition at line 14 of file GridAsyncInsert.php.
__construct | ( | \Magento\Sales\Model\GridAsyncInsert | $asyncInsert | ) |
\Magento\Sales\Model\GridAsyncInsert | $asyncInsert |
Definition at line 24 of file GridAsyncInsert.php.
execute | ( | ) |
Handles asynchronous insertion of the new entity into corresponding grid during cron job.
Also method is used in the next events:
Works only if asynchronous grid indexing is enabled in global settings.
Definition at line 43 of file GridAsyncInsert.php.
|
protected |
Definition at line 19 of file GridAsyncInsert.php.