a55488a222bfe137b529876432a1f7ddb1f68a3c
[yaffs-website] / web / core / modules / comment / config / schema / comment.schema.yml
1 # Schema for the configuration files of the Comment module.
2
3 field.formatter.settings.comment_default:
4   type: mapping
5   label: 'Comment display format settings'
6   mapping:
7     view_mode:
8       type: string
9       label: 'The comment entity view mode to be used in this formatter'
10     pager_id:
11       type: integer
12       label: 'Pager ID'
13
14 field.widget.settings.comment_default:
15   type: mapping
16   label: 'Comment display format settings'
17
18 action.configuration.comment_publish_action:
19   type: action_configuration_default
20   label: 'Publish comment configuration'
21
22 action.configuration.comment_save_action:
23   type: action_configuration_default
24   label: 'Save comment configuration'
25
26 action.configuration.comment_unpublish_by_keyword_action:
27   type: mapping
28   label: 'Unpublish comment containing keyword(s) configuration'
29   mapping:
30     keywords:
31       type: sequence
32       label: 'Keywords'
33       sequence:
34         type: string
35         label: 'Keyword'
36
37 action.configuration.comment_unpublish_action:
38   type: action_configuration_default
39   label: 'Unpublish comment configuration'
40
41 comment.type.*:
42   type: config_entity
43   label: 'Comment type settings'
44   mapping:
45     id:
46       type: string
47       label: 'ID'
48     label:
49       type: label
50       label: 'Label'
51     target_entity_type_id:
52       type: string
53       label: 'Target Entity Type ID'
54     description:
55       type: text
56       label: 'Description'
57
58 field.storage_settings.comment:
59   type: mapping
60   label: 'Comment settings'
61   mapping:
62     comment_type:
63       label: 'Comment type'
64       type: string
65
66 field.value.comment:
67   type: mapping
68   label: 'Default value'
69   mapping:
70     status:
71       type: integer
72       label: 'Comment status'
73     cid:
74       type: integer
75       label: 'Last comment ID'
76     last_comment_timestamp:
77       type: integer
78       label: 'Last comment timestamp'
79     last_comment_name:
80       type: integer
81       label: 'Last comment name'
82     last_comment_uid:
83       type: integer
84       label: 'Last comment user ID'
85     comment_count:
86       type: integer
87       label: 'Number of comments'
88
89 field.field_settings.comment:
90   type: mapping
91   label: 'Comment settings'
92   mapping:
93     default_mode:
94       type: integer
95       label: 'Threading'
96     per_page:
97       type: integer
98       label: 'Comments per page'
99     anonymous:
100       type: integer
101       label: 'Mode'
102     form_location:
103       type: boolean
104       label: ' Allow comment title'
105     preview:
106       type: integer
107       label: 'Preview comment'