annotate core/modules/comment/config/schema/comment.schema.yml @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents af1871eacc83
children
rev   line source
Chris@0 1 # Schema for the configuration files of the Comment module.
Chris@18 2 comment.settings:
Chris@18 3 type: config_object
Chris@18 4 label: 'Comment settings'
Chris@18 5 mapping:
Chris@18 6 log_ip_addresses:
Chris@18 7 type: boolean
Chris@18 8 label: 'Whether to log IP addresses with comments or not.'
Chris@0 9
Chris@0 10 field.formatter.settings.comment_default:
Chris@0 11 type: mapping
Chris@0 12 label: 'Comment display format settings'
Chris@0 13 mapping:
Chris@0 14 view_mode:
Chris@0 15 type: string
Chris@0 16 label: 'The comment entity view mode to be used in this formatter'
Chris@0 17 pager_id:
Chris@0 18 type: integer
Chris@0 19 label: 'Pager ID'
Chris@0 20
Chris@0 21 field.widget.settings.comment_default:
Chris@0 22 type: mapping
Chris@0 23 label: 'Comment display format settings'
Chris@0 24
Chris@14 25 # @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0.
Chris@14 26 # @see https://www.drupal.org/node/2919303
Chris@0 27 action.configuration.comment_publish_action:
Chris@0 28 type: action_configuration_default
Chris@0 29 label: 'Publish comment configuration'
Chris@0 30
Chris@14 31 # @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0.
Chris@14 32 # @see https://www.drupal.org/node/2919303
Chris@0 33 action.configuration.comment_save_action:
Chris@0 34 type: action_configuration_default
Chris@0 35 label: 'Save comment configuration'
Chris@0 36
Chris@0 37 action.configuration.comment_unpublish_by_keyword_action:
Chris@0 38 type: mapping
Chris@0 39 label: 'Unpublish comment containing keyword(s) configuration'
Chris@0 40 mapping:
Chris@0 41 keywords:
Chris@0 42 type: sequence
Chris@0 43 label: 'Keywords'
Chris@0 44 sequence:
Chris@0 45 type: string
Chris@0 46 label: 'Keyword'
Chris@0 47
Chris@14 48 # @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0.
Chris@14 49 # @see https://www.drupal.org/node/2919303
Chris@0 50 action.configuration.comment_unpublish_action:
Chris@0 51 type: action_configuration_default
Chris@0 52 label: 'Unpublish comment configuration'
Chris@0 53
Chris@17 54 # @deprecated in Drupal 8.6.x, to be removed before Drupal 9.0.0.
Chris@17 55 # @see https://www.drupal.org/node/2934349
Chris@0 56 action.configuration.comment_delete_action:
Chris@0 57 type: action_configuration_default
Chris@0 58 label: 'Delete comment configuration'
Chris@0 59
Chris@0 60 comment.type.*:
Chris@0 61 type: config_entity
Chris@0 62 label: 'Comment type settings'
Chris@0 63 mapping:
Chris@0 64 id:
Chris@0 65 type: string
Chris@0 66 label: 'ID'
Chris@0 67 label:
Chris@0 68 type: label
Chris@0 69 label: 'Label'
Chris@0 70 target_entity_type_id:
Chris@0 71 type: string
Chris@0 72 label: 'Target Entity Type ID'
Chris@0 73 description:
Chris@0 74 type: text
Chris@0 75 label: 'Description'
Chris@0 76
Chris@0 77 field.storage_settings.comment:
Chris@0 78 type: mapping
Chris@0 79 label: 'Comment settings'
Chris@0 80 mapping:
Chris@0 81 comment_type:
Chris@0 82 label: 'Comment type'
Chris@0 83 type: string
Chris@0 84
Chris@0 85 field.value.comment:
Chris@0 86 type: mapping
Chris@0 87 label: 'Default value'
Chris@0 88 mapping:
Chris@0 89 status:
Chris@0 90 type: integer
Chris@0 91 label: 'Comment status'
Chris@0 92 cid:
Chris@0 93 type: integer
Chris@0 94 label: 'Last comment ID'
Chris@0 95 last_comment_timestamp:
Chris@0 96 type: integer
Chris@0 97 label: 'Last comment timestamp'
Chris@0 98 last_comment_name:
Chris@0 99 type: integer
Chris@0 100 label: 'Last comment name'
Chris@0 101 last_comment_uid:
Chris@0 102 type: integer
Chris@0 103 label: 'Last comment user ID'
Chris@0 104 comment_count:
Chris@0 105 type: integer
Chris@0 106 label: 'Number of comments'
Chris@0 107
Chris@0 108 field.field_settings.comment:
Chris@0 109 type: mapping
Chris@0 110 label: 'Comment settings'
Chris@0 111 mapping:
Chris@0 112 default_mode:
Chris@0 113 type: integer
Chris@0 114 label: 'Threading'
Chris@0 115 per_page:
Chris@0 116 type: integer
Chris@0 117 label: 'Comments per page'
Chris@0 118 anonymous:
Chris@0 119 type: integer
Chris@0 120 label: 'Mode'
Chris@0 121 form_location:
Chris@0 122 type: boolean
Chris@14 123 label: 'Allow comment title'
Chris@0 124 preview:
Chris@0 125 type: integer
Chris@0 126 label: 'Preview comment'
Chris@0 127
Chris@0 128 field.formatter.settings.comment_permalink:
Chris@0 129 type: field.formatter.settings.string