You are here

modal.schema.yml in Modal 4.1.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: 'Modal Title'
  13. body:
  14. type: text_format
  15. label: 'Body'
  16. pages:
  17. type: text
  18. label: 'Pages to show'
  19. auto_open:
  20. type: boolean
  21. label: 'Auto Open'
  22. open_modal_on_element_click:
  23. type: string
  24. label: 'Open this modal clicking on this element'
  25. langcode:
  26. type: string
  27. label: 'Language'
  28. ok_label_button:
  29. type: text
  30. label: 'Button: Right (OK)'
  31. top_right_button_label:
  32. type: text
  33. label: 'Button: Top-Right (X)'
  34. left_label_button:
  35. type: text
  36. label: 'Button: Left (Dismiss)'
  37. enable_dont_show_again_option:
  38. type: boolean
  39. label: 'Enable option Dont show again'
  40. dont_show_again_label:
  41. type: text
  42. label: "Don't show again"
  43. modal_size:
  44. type: string
  45. label: 'Modal Size'
  46. close_modal_esc_key:
  47. type: boolean
  48. label: 'Close Modal pressing ESC key'
  49. close_modal_clicking_outside:
  50. type: boolean
  51. label: 'Close Modal clicking outside the Modal'
  52. roles:
  53. type: sequence
  54. label: 'Who can access this Modal'
  55. sequence:
  56. type: string
  57. type:
  58. type: string
  59. label: 'Modal Type'
  60. delay_display:
  61. type: string
  62. label: 'Delay to display'
  63. published:
  64. type: boolean
  65. label: 'Published'
  66. insert_horizontal_line_header:
  67. type: boolean
  68. label: 'Insert horizontal line'
  69. insert_horizontal_line_footer:
  70. type: boolean
  71. label: 'Insert horizontal footer'
  72. enable_modal_header:
  73. type: boolean
  74. label: 'Enable Modal Header'
  75. enable_modal_footer:
  76. type: boolean
  77. label: 'Enable Modal Footer'
  78. display_title:
  79. type: boolean
  80. label: 'Display title'
  81. display_button_x_close:
  82. type: boolean
  83. label: 'Display button "X" to close'
  84. top_right_button_class:
  85. type: string
  86. label: 'Top right button class'
  87. modal_class:
  88. type: string
  89. label: 'Modal class'
  90. header_class:
  91. type: string
  92. label: 'Modal class'
  93. footer_class:
  94. type: string
  95. label: 'Footer class'
  96. enable_left_button:
  97. type: boolean
  98. label: 'Enable Left Button'
  99. ok_button_class:
  100. type: string
  101. label: 'Ok button class'
  102. left_button_class:
  103. type: string
  104. label: 'Left button class'
  105. parameters:
  106. type: string
  107. label: 'Parameters'
  108. enable_right_button:
  109. type: boolean
  110. label: 'Enable Right Button'
  111. languages_to_show:
  112. type: sequence
  113. label: 'Enable Right Button'
  114. sequence:
  115. type: string
  116. redirect_link:
  117. type: text
  118. label: 'Redirect Link'
  119. enable_redirect_link:
  120. type: boolean
  121. label: 'Enable Redirect Link'
  122. modal_page.settings:
  123. type: config_object
  124. mapping:
  125. verify_load_bootstrap_automatically:
  126. type: boolean
  127. label: 'Verify load bootstrap automatically'
  128. load_bootstrap:
  129. type: boolean
  130. label: 'Load bootstrap'
  131. allowed_tags:
  132. type: string
  133. label: 'Allowed tags'
  134. clear_caches_on_modal_save:
  135. type: boolean
  136. label: 'Clear caches on modal save'