You are here

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_order

Code

public function isLocked() : bool {
  return $this->locked;
}