- 'settings/per_page': comment_default_per_page
- 'settings/anonymous': comment_anonymous
- 'settings/form_location': comment_form_location
- 'settings/preview': comment_preview
+ default_value: 1
+ 'settings/per_page':
+ plugin: default_value
+ source: comment_default_per_page
+ default_value: 50
+ 'settings/anonymous':
+ plugin: default_value
+ source: comment_anonymous
+ default_value: 0
+ 'settings/form_location':
+ plugin: default_value
+ source: comment_form_location
+ default_value: 0
+ 'settings/preview':
+ # We're using static_map instead of default_value otherwise if the source
+ # is 0, the default value of 1 would be used.
+ plugin: static_map
+ source: comment_preview
+ map:
+ 0: 0
+ 1: 1
+ default_value: 1