Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[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 # @deprecated in Drupal 8.6.x, to be removed before Drupal 9.0.0.
48 # @see https://www.drupal.org/node/2934349
49 action.configuration.comment_delete_action:
50   type: action_configuration_default
51   label: 'Delete comment configuration'
52
53 comment.type.*:
54   type: config_entity
55   label: 'Comment type settings'
56   mapping:
57     id:
58       type: string
59       label: 'ID'
60     label:
61       type: label
62       label: 'Label'
63     target_entity_type_id:
64       type: string
65       label: 'Target Entity Type ID'
66     description:
67       type: text
68       label: 'Description'
69
70 field.storage_settings.comment:
71   type: mapping
72   label: 'Comment settings'
73   mapping:
74     comment_type:
75       label: 'Comment type'
76       type: string
77
78 field.value.comment:
79   type: mapping
80   label: 'Default value'
81   mapping:
82     status:
83       type: integer
84       label: 'Comment status'
85     cid:
86       type: integer
87       label: 'Last comment ID'
88     last_comment_timestamp:
89       type: integer
90       label: 'Last comment timestamp'
91     last_comment_name:
92       type: integer
93       label: 'Last comment name'
94     last_comment_uid:
95       type: integer
96       label: 'Last comment user ID'
97     comment_count:
98       type: integer
99       label: 'Number of comments'
100
101 field.field_settings.comment:
102   type: mapping
103   label: 'Comment settings'
104   mapping:
105     default_mode:
106       type: integer
107       label: 'Threading'
108     per_page:
109       type: integer
110       label: 'Comments per page'
111     anonymous:
112       type: integer
113       label: 'Mode'
114     form_location:
115       type: boolean
116       label: 'Allow comment title'
117     preview:
118       type: integer
119       label: 'Preview comment'
120
121 field.formatter.settings.comment_permalink:
122   type: field.formatter.settings.string