c29088b1a97376482e47e5e3a1b0623c21a8920a
[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 # @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0.
19 # @see https://www.drupal.org/node/2919303
20 action.configuration.comment_publish_action:
21   type: action_configuration_default
22   label: 'Publish comment configuration'
23
24 # @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0.
25 # @see https://www.drupal.org/node/2919303
26 action.configuration.comment_save_action:
27   type: action_configuration_default
28   label: 'Save comment configuration'
29
30 action.configuration.comment_unpublish_by_keyword_action:
31   type: mapping
32   label: 'Unpublish comment containing keyword(s) configuration'
33   mapping:
34     keywords:
35       type: sequence
36       label: 'Keywords'
37       sequence:
38         type: string
39         label: 'Keyword'
40
41 # @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0.
42 # @see https://www.drupal.org/node/2919303
43 action.configuration.comment_unpublish_action:
44   type: action_configuration_default
45   label: 'Unpublish comment configuration'
46
47 action.configuration.comment_delete_action:
48   type: action_configuration_default
49   label: 'Delete comment configuration'
50
51 comment.type.*:
52   type: config_entity
53   label: 'Comment type settings'
54   mapping:
55     id:
56       type: string
57       label: 'ID'
58     label:
59       type: label
60       label: 'Label'
61     target_entity_type_id:
62       type: string
63       label: 'Target Entity Type ID'
64     description:
65       type: text
66       label: 'Description'
67
68 field.storage_settings.comment:
69   type: mapping
70   label: 'Comment settings'
71   mapping:
72     comment_type:
73       label: 'Comment type'
74       type: string
75
76 field.value.comment:
77   type: mapping
78   label: 'Default value'
79   mapping:
80     status:
81       type: integer
82       label: 'Comment status'
83     cid:
84       type: integer
85       label: 'Last comment ID'
86     last_comment_timestamp:
87       type: integer
88       label: 'Last comment timestamp'
89     last_comment_name:
90       type: integer
91       label: 'Last comment name'
92     last_comment_uid:
93       type: integer
94       label: 'Last comment user ID'
95     comment_count:
96       type: integer
97       label: 'Number of comments'
98
99 field.field_settings.comment:
100   type: mapping
101   label: 'Comment settings'
102   mapping:
103     default_mode:
104       type: integer
105       label: 'Threading'
106     per_page:
107       type: integer
108       label: 'Comments per page'
109     anonymous:
110       type: integer
111       label: 'Mode'
112     form_location:
113       type: boolean
114       label: 'Allow comment title'
115     preview:
116       type: integer
117       label: 'Preview comment'
118
119 field.formatter.settings.comment_permalink:
120   type: field.formatter.settings.string