public static function StarRatingValueFormatter::defaultSettings in Star Rating 8
Same name and namespace in other branches
- 8.4 src/Plugin/Field/FieldFormatter/StarRatingValueFormatter.php \Drupal\starrating\Plugin\Field\FieldFormatter\StarRatingValueFormatter::defaultSettings()
- 8.2 src/Plugin/Field/FieldFormatter/StarRatingValueFormatter.php \Drupal\starrating\Plugin\Field\FieldFormatter\StarRatingValueFormatter::defaultSettings()
- 8.3 src/Plugin/Field/FieldFormatter/StarRatingValueFormatter.php \Drupal\starrating\Plugin\Field\FieldFormatter\StarRatingValueFormatter::defaultSettings()
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/ StarRatingValueFormatter.php, line 25
Class
- StarRatingValueFormatter
- Plugin implementation of the 'addtocart' formatter.
Namespace
Drupal\starrating\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return parent::defaultSettings();
}