public function AdjustmentItemListInterface::removeAdjustment in Commerce Core 8.2
Removes the matching adjustment value.
Parameters
\Drupal\commerce_order\Adjustment $adjustment: The adjustment.
Return value
$this
1 method overrides AdjustmentItemListInterface::removeAdjustment()
- AdjustmentItemList::removeAdjustment in modules/
order/ src/ Plugin/ Field/ FieldType/ AdjustmentItemList.php - Removes the matching adjustment value.
File
- modules/
order/ src/ Plugin/ Field/ FieldType/ AdjustmentItemListInterface.php, line 29
Class
- AdjustmentItemListInterface
- Represents a list of adjustment item field values.
Namespace
Drupal\commerce_order\Plugin\Field\FieldTypeCode
public function removeAdjustment(Adjustment $adjustment);