public static function AddToCartFormatter::defaultSettings in Commerce Product Bundle 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ AddToCartFormatter.php, line 26
Class
- AddToCartFormatter
- Plugin implementation of the 'commerce_product_bundle_add_to_cart' formatter.
Namespace
Drupal\commerce_product_bundle\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'combine' => TRUE,
] + parent::defaultSettings();
}