public static function NumericItemBase::defaultFieldSettings in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php \Drupal\Core\Field\Plugin\Field\FieldType\NumericItemBase::defaultFieldSettings()
Defines the field-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemBase::defaultFieldSettings
1 call to NumericItemBase::defaultFieldSettings()
- IntegerItem::defaultFieldSettings in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ IntegerItem.php - Defines the field-level settings for this plugin.
1 method overrides NumericItemBase::defaultFieldSettings()
- IntegerItem::defaultFieldSettings in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ IntegerItem.php - Defines the field-level settings for this plugin.
File
- core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ NumericItemBase.php, line 21 - Contains \Drupal\Core\Field\Plugin\Field\FieldType\NumericItemBase.
Class
- NumericItemBase
- Base class for numeric configurable field types.
Namespace
Drupal\Core\Field\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return array(
'min' => '',
'max' => '',
'prefix' => '',
'suffix' => '',
) + parent::defaultFieldSettings();
}