comment.schema.yml

Same filename in other branches
  1. 8.9.x core/modules/comment/config/schema/comment.schema.yml
  2. 10 core/modules/comment/config/schema/comment.schema.yml
  3. 11.x 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. mapping:
  6. log_ip_addresses:
  7. type: boolean
  8. label: 'Whether to log IP addresses with comments or not.'
  9. field.formatter.settings.comment_default:
  10. type: mapping
  11. label: 'Comment display format settings'
  12. mapping:
  13. view_mode:
  14. type: string
  15. label: 'The comment entity view mode to be used in this formatter'
  16. pager_id:
  17. type: integer
  18. label: 'Pager ID'
  19. field.widget.settings.comment_default:
  20. type: mapping
  21. label: 'Comment display format settings'
  22. action.configuration.comment_unpublish_by_keyword_action:
  23. type: mapping
  24. label: 'Unpublish comment containing keyword(s) configuration'
  25. mapping:
  26. keywords:
  27. type: sequence
  28. label: 'Keywords'
  29. sequence:
  30. type: string
  31. label: 'Keyword'
  32. comment.type.*:
  33. type: config_entity
  34. label: 'Comment type settings'
  35. mapping:
  36. id:
  37. type: string
  38. label: 'ID'
  39. label:
  40. type: label
  41. label: 'Label'
  42. target_entity_type_id:
  43. type: string
  44. label: 'Target Entity Type ID'
  45. description:
  46. type: text
  47. label: 'Description'
  48. field.storage_settings.comment:
  49. type: mapping
  50. label: 'Comment settings'
  51. mapping:
  52. comment_type:
  53. label: 'Comment type'
  54. type: string
  55. field.value.comment:
  56. type: mapping
  57. label: 'Default value'
  58. mapping:
  59. status:
  60. type: integer
  61. label: 'Comment status'
  62. cid:
  63. type: integer
  64. label: 'Last comment ID'
  65. last_comment_timestamp:
  66. type: integer
  67. label: 'Last comment timestamp'
  68. last_comment_name:
  69. type: integer
  70. label: 'Last comment name'
  71. last_comment_uid:
  72. type: integer
  73. label: 'Last comment user ID'
  74. comment_count:
  75. type: integer
  76. label: 'Number of comments'
  77. field.field_settings.comment:
  78. type: mapping
  79. label: 'Comment settings'
  80. mapping:
  81. default_mode:
  82. type: integer
  83. label: 'Threading'
  84. per_page:
  85. type: integer
  86. label: 'Comments per page'
  87. anonymous:
  88. type: integer
  89. label: 'Mode'
  90. form_location:
  91. type: boolean
  92. label: 'Allow comment title'
  93. preview:
  94. type: integer
  95. label: 'Preview comment'
  96. field.formatter.settings.comment_permalink:
  97. type: field.formatter.settings.string

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.