X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fentity_test%2Fsrc%2FPlugin%2FField%2FFieldWidget%2FShapeOnlyColorEditableWidget.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fentity_test%2Fsrc%2FPlugin%2FField%2FFieldWidget%2FShapeOnlyColorEditableWidget.php;h=6283bc3cea9ca9b9430239eecf797736d478d3a9;hp=ae5dd3039d9d075ae5d63da8d051d9871b6d2fc9;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php b/web/core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php index ae5dd3039..6283bc3ce 100644 --- a/web/core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php +++ b/web/core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php @@ -25,7 +25,7 @@ class ShapeOnlyColorEditableWidget extends WidgetBase { public function formElement(FieldItemListInterface $items, $delta, array $element, array &$form, FormStateInterface $form_state) { $element['shape'] = [ '#type' => 'hidden', - '#value' => $items[$delta]->shape + '#value' => $items[$delta]->shape, ]; $element['color'] = [