public function Order::getRefreshState in Commerce Core 8.2
Gets the order refresh state.
Return value
string|null The refresh state, if set. One of the following order constants: REFRESH_ON_LOAD: The order should be refreshed when it is next loaded. REFRESH_ON_SAVE: The order should be refreshed before it is saved. REFRESH_SKIP: The order should not be refreshed for now.
Overrides OrderInterface::getRefreshState
1 call to Order::getRefreshState()
- Order::preSave in modules/
order/ src/ Entity/ Order.php - Acts on an entity before the presave hook is invoked.
File
- modules/
order/ src/ Entity/ Order.php, line 532
Class
- Order
- Defines the order entity class.
Namespace
Drupal\commerce_order\EntityCode
public function getRefreshState() {
return $this
->getData('refresh_state');
}