public function Adjustment::isLocked in Commerce Core 8.2
Gets whether the adjustment is locked.
Locked adjustments are not removed during the order refresh process.
Return value
bool TRUE if the adjustment is locked, FALSE otherwise.
File
- modules/
order/ src/ Adjustment.php, line 195
Class
- Adjustment
- Represents an adjustment.
Namespace
Drupal\commerce_orderCode
public function isLocked() : bool {
return $this->locked;
}