Same filename and directory in other branches
  1. 8.9.x core/modules/comment/config/schema/comment.schema.yml
  2. 9 core/modules/comment/config/schema/comment.schema.yml
core/modules/comment/config/schema/comment.schema.yml

File

core/modules/comment/config/schema/comment.schema.yml
View source
  1. # Schema for the configuration files of the Comment module.
  2. comment.settings:
  3. type: config_object
  4. label: 'Comment settings'
  5. constraints:
  6. FullyValidatable: ~
  7. mapping:
  8. log_ip_addresses:
  9. type: boolean
  10. label: 'Whether to log IP addresses with comments or not.'
  11. field.formatter.settings.comment_default:
  12. type: mapping
  13. label: 'Comment display format settings'
  14. mapping:
  15. view_mode:
  16. type: string
  17. label: 'The comment entity view mode to be used in this formatter'
  18. pager_id:
  19. type: integer
  20. label: 'Pager ID'
  21. field.widget.settings.comment_default:
  22. type: mapping
  23. label: 'Comment display format settings'
  24. comment.type.*:
  25. type: config_entity
  26. label: 'Comment type settings'
  27. mapping:
  28. id:
  29. type: machine_name
  30. label: 'ID'
  31. label:
  32. type: required_label
  33. label: 'Label'
  34. target_entity_type_id:
  35. type: string
  36. label: 'Target Entity Type ID'
  37. description:
  38. type: text
  39. label: 'Description'
  40. field.storage_settings.comment:
  41. type: mapping
  42. label: 'Comment settings'
  43. mapping:
  44. comment_type:
  45. label: 'Comment type'
  46. type: string
  47. field.value.comment:
  48. type: mapping
  49. label: 'Default value'
  50. mapping:
  51. status:
  52. type: integer
  53. label: 'Comment status'
  54. cid:
  55. type: integer
  56. label: 'Last comment ID'
  57. last_comment_timestamp:
  58. type: integer
  59. label: 'Last comment timestamp'
  60. last_comment_name:
  61. type: integer
  62. label: 'Last comment name'
  63. last_comment_uid:
  64. type: integer
  65. label: 'Last comment user ID'
  66. comment_count:
  67. type: integer
  68. label: 'Number of comments'
  69. field.field_settings.comment:
  70. type: mapping
  71. label: 'Comment settings'
  72. mapping:
  73. default_mode:
  74. type: integer
  75. label: 'Threading'
  76. per_page:
  77. type: integer
  78. label: 'Comments per page'
  79. anonymous:
  80. type: integer
  81. label: 'Mode'
  82. form_location:
  83. type: boolean
  84. label: 'Allow comment title'
  85. preview:
  86. type: integer
  87. label: 'Preview comment'
  88. field.formatter.settings.comment_permalink:
  89. type: field.formatter.settings.string