public static function PriceModifiedItem::defaultFieldSettings in Price 3.0.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldType/PriceModifiedItem.php \Drupal\price\Plugin\Field\FieldType\PriceModifiedItem::defaultFieldSettings()
- 3.x src/Plugin/Field/FieldType/PriceModifiedItem.php \Drupal\price\Plugin\Field\FieldType\PriceModifiedItem::defaultFieldSettings()
Defines the field-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PriceItem::defaultFieldSettings
File
- src/
Plugin/ Field/ FieldType/ PriceModifiedItem.php, line 56
Class
- PriceModifiedItem
- Plugin implementation of the 'modified price' field type.
Namespace
Drupal\price\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'available_modifiers' => [],
] + parent::defaultFieldSettings();
}