You are here

modal.schema.yml in Modal 5.0.x

config/schema/modal.schema.yml

File

config/schema/modal.schema.yml
View source
  1. modal_page.modal.*:
  2. type: config_entity
  3. label: 'Modal config'
  4. mapping:
  5. id:
  6. type: string
  7. label: 'ID'
  8. uuid:
  9. type: string
  10. label:
  11. type: label
  12. label: 'Label'
  13. body.value:
  14. type: text
  15. label: 'Body'
  16. pages:
  17. type: text
  18. label: 'Pages'
  19. parameters:
  20. type: text
  21. label: 'Parameters'
  22. auto_open:
  23. type: boolean
  24. label: 'Auto Open'
  25. open_modal_on_element_click:
  26. type: string
  27. label: 'Open this modal clicking on this element'
  28. langcode:
  29. type: string
  30. label: 'Language'
  31. ok_label_button:
  32. type: string
  33. label: 'OK Label Button'
  34. enable_dont_show_again_option:
  35. type: boolean
  36. label: 'Enable option Dont show again'
  37. dont_show_again_label:
  38. type: string
  39. label: 'Dont show again'
  40. modal_size:
  41. type: list_string
  42. label: 'Modal Size'
  43. close_modal_esc_key:
  44. type: boolean
  45. label: 'Close Modal pressing ESC key'
  46. close_modal_clicking_outside:
  47. type: boolean
  48. label: 'Close Modal clicking outside the Modal'
  49. roles:
  50. type: list_string
  51. label: 'Who can access this Modal'
  52. type:
  53. type: list_string
  54. label: 'Modal Type'
  55. delay_display:
  56. type: string
  57. label: 'Delay to display'
  58. published:
  59. type: boolean
  60. label: 'Published'