public static function PriceTableDefaultFormatter::defaultSettings in Commerce Price Table 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PriceDefaultFormatter::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ PriceTableDefaultFormatter.php, line 66
Class
- PriceTableDefaultFormatter
- Plugin implementation of the 'commerce_price_table' formatter.
Namespace
Drupal\commerce_price_table\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'table_orientation' => PriceTableDefaultFormatter::HORIZONTAL_MODE,
] + parent::defaultSettings();
}