public static function PriceModifiedItem::defaultFieldSettings in Price 8
Same name and namespace in other branches
- 3.x src/Plugin/Field/FieldType/PriceModifiedItem.php \Drupal\price\Plugin\Field\FieldType\PriceModifiedItem::defaultFieldSettings()
- 3.0.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();
}