You are here

fivestar.schema.yml in Fivestar 8

config/schema/fivestar.schema.yml

File

config/schema/fivestar.schema.yml
View source
  1. field.value.fivestar:
  2. type: mapping
  3. label: 'Default value'
  4. mapping:
  5. rating:
  6. type: integer
  7. label: 'Star rating'
  8. target:
  9. type: integer
  10. label: 'Target ID'
  11. field.field_settings.fivestar:
  12. type: mapping
  13. label: 'Fivestar field settings'
  14. mapping:
  15. stars:
  16. type: integer
  17. label: 'Number of stars'
  18. allow_clear:
  19. type: boolean
  20. label: 'Allow users to cancel their ratings'
  21. allow_revote:
  22. type: boolean
  23. label: 'Allow users to re-vote on already voted content'
  24. allow_ownvote:
  25. type: boolean
  26. label: 'Allow users to vote on their own content'
  27. rated_while:
  28. type: string
  29. label: 'Select when rating is allowed: "viewing" or "editing"'
  30. enable_voting_target:
  31. type: boolean
  32. label: 'Set voting target'
  33. target_bridge_field:
  34. type: string
  35. label: 'Machine name of entity reference field that binds the current entity with the entity that contain target fivestar field'
  36. target_fivestar_field:
  37. type: string
  38. label: 'Machine name of the fivestar field which should affect after vote.'
  39. field.storage_settings.fivestar:
  40. type: mapping
  41. label: 'Fivestar field storage settings'
  42. mapping:
  43. vote_type:
  44. type: string
  45. label: 'Fivestar vote type'
  46. field.formatter.settings.fivestar_stars:
  47. type: mapping
  48. label: 'Fivestar field formatter settings'
  49. mapping:
  50. text_format:
  51. type: string
  52. label: 'Text format'
  53. display_format:
  54. type: string
  55. label: 'Display format'
  56. fivestar_widget:
  57. type: string
  58. label: 'Widget ID'
  59. field.widget.settings.fivestar_stars:
  60. type: mapping
  61. label: 'Fivestar field widget settings'
  62. mapping:
  63. text_format:
  64. type: string
  65. label: 'Text format'
  66. display_format:
  67. type: string
  68. label: 'Display format'
  69. fivestar_widget:
  70. type: string
  71. label: 'Widget ID'