removed some dsm() frome custom module

This commit is contained in:
Bachir Soussi Chiadmi 2019-05-01 16:10:50 +02:00
parent 00159a5db8
commit 16c65e63a9
2 changed files with 2 additions and 2 deletions

View File

@ -120,6 +120,6 @@ class SamplesItem extends FieldItemBase {
*/ */
public static function fieldSettingsFormValidate(array $form, FormStateInterface $form_state) { public static function fieldSettingsFormValidate(array $form, FormStateInterface $form_state) {
$field = $form_state->getFormObject()->getEntity(); $field = $form_state->getFormObject()->getEntity();
dsm($field); // dsm($field);
} }
} }

View File

@ -125,7 +125,7 @@ class SamplesDefaultWidget extends WidgetBase {
// foreach ($values as $key => $value) { // foreach ($values as $key => $value) {
// $values[$key]['value']['target_id'] = (int)$values[$key]['value']['target_id']; // $values[$key]['value']['target_id'] = (int)$values[$key]['value']['target_id'];
// } // }
dsm($values); // dsm($values);
return $values; return $values;
} }
} }