Skip to content

Commit 2c0d6f5

Browse files
committed
Issue #2840535 by bojanz, mglaman: The adjustments field type should not be available from the UI
1 parent 9f451cd commit 2c0d6f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/order/src/Plugin/Field/FieldType/AdjustmentItem.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* description = @Translation("Stores adjustments to the parent entity's price."),
1717
* category = @Translation("Commerce"),
1818
* list_class = "\Drupal\commerce_order\Plugin\Field\FieldType\AdjustmentItemList",
19+
* no_ui = TRUE,
1920
* default_widget = "commerce_adjustment_default",
2021
* )
2122
*/

0 commit comments

Comments
 (0)