public static function PriceTableItem::defaultFieldSettings in Commerce Price Table 8
Defines the field-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemBase::defaultFieldSettings
File
- src/
Plugin/ Field/ FieldType/ PriceTableItem.php, line 102
Class
- PriceTableItem
- Plugin implementation of the 'commerce_price_table' field type.
Namespace
Drupal\commerce_price_table\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'currency_code' => [],
] + parent::defaultFieldSettings();
}