Commit 4c109a59 authored by alexpott's avatar alexpott

Issue #2136197 followup by andypost: Move field/instance/widget/formatter...

Issue #2136197 followup by andypost: Move field/instance/widget/formatter settings out of annotation / plugin definition [followup].
parent bb0f5fce
......@@ -18,12 +18,12 @@ abstract class NumericItemBase extends FieldItemBase {
* {@inheritdoc}
*/
public static function defaultInstanceSettings() {
$settings = parent::defaultInstanceSettings();
$settings['min'] = '';
$settings['max'] = '';
$settings['prefix'] = '';
$settings['suffix'] = '';
return $settings;
return array(
'min' => '',
'max' => '',
'prefix' => '',
'suffix' => '',
) + parent::defaultInstanceSettings();
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment