You are here

faqfield.schema.yml in FAQ Field 2.0.x

Same filename and directory in other branches
  1. 8 config/schema/faqfield.schema.yml
config/schema/faqfield.schema.yml

File

config/schema/faqfield.schema.yml
View source
  1. # Schema for the configuration files of the FAQ Field module.
  2. # FieldFormatter: jQuery Accordion
  3. field.formatter.settings.faqfield_accordion:
  4. type: mapping
  5. label: 'FAQ Field jQuery Accordion format settings'
  6. mapping:
  7. active:
  8. type: integer
  9. label: 'Index of active element starting from 0. Leave empty to display none at start.'
  10. heightStyle:
  11. type: string
  12. label: 'Controls the height of the accordion and each panel.'
  13. collapsible:
  14. type: boolean
  15. label: 'Whether an opened question can be collapsed (by the triggering event).'
  16. event:
  17. type: string
  18. label: 'Event on which to trigger the accordion.'
  19. animate:
  20. type: mapping
  21. label: 'Animation options for the accordion formatter.'
  22. mapping:
  23. easing:
  24. type: string
  25. label: 'Name of easing to use when the event is triggered.'
  26. duration:
  27. type: integer
  28. label: 'Animation duration in milliseconds with the selected easing.'
  29. # FieldFormatter: HTML anchor list
  30. field.formatter.settings.faqfield_anchor_list:
  31. type: mapping
  32. label: 'FAQ Field HTML anchor list format settings'
  33. mapping:
  34. anchor_list_type:
  35. type: string
  36. label: 'The type of HTML list used for the anchor link list.'
  37. # FieldWidget: Default widget.
  38. field.widget.settings.faqfield_default:
  39. type: mapping
  40. label: 'FAQ Field default widget settings'
  41. mapping:
  42. answer_widget:
  43. type: string
  44. label: 'What form widget to use for answer input.'
  45. question_title:
  46. type: string
  47. label: 'Custom title of question input.'
  48. translatable: true
  49. translation context: 'Custom title of FAQ Field question widget.'
  50. answer_title:
  51. type: string
  52. label: 'Custom title of answer input.'
  53. translatable: true
  54. translation context: 'Custom title of FAQ Field answer widget.'
  55. question_field_required:
  56. type: boolean
  57. label: 'Question field is required.'
  58. answer_field_required:
  59. type: boolean
  60. label: 'Answer field is required.'
  61. advanced:
  62. type: mapping
  63. label: 'Advanced options of the FAQ Field default widget.'
  64. mapping:
  65. question_length:
  66. type: integer
  67. label: 'Maximum length of questions.'
  68. question_size:
  69. type: integer
  70. label: 'Size the question widget.'
  71. question_rows:
  72. type: integer
  73. label: 'Number of rows used for the question widget.'
  74. answer_rows:
  75. type: integer
  76. label: 'Number of rows used for the answer widget.'
  77. # FieldType: FAQ Field.
  78. field.field_settings.faqfield:
  79. type: mapping
  80. label: 'FAQ Field field settings'
  81. mapping:
  82. default_format:
  83. type: string
  84. label: 'Default text format'