You are here

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\FieldType

Code

public static function defaultFieldSettings() {
  return [
    'currency_code' => [],
  ] + parent::defaultFieldSettings();
}