This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/core/modules/comment/config/schema/comment.schema.yml

105 lines
2.3 KiB
YAML

# Schema for the configuration files of the Comment module.
field.formatter.settings.comment_default:
type: mapping
label: 'Comment display format settings'
mapping:
pager_id:
type: integer
label: 'Pager ID'
field.widget.settings.comment_default:
type: mapping
label: 'Comment display format settings'
action.configuration.comment_publish_action:
type: action_configuration_default
label: 'Publish comment configuration'
action.configuration.comment_save_action:
type: action_configuration_default
label: 'Save comment configuration'
action.configuration.comment_unpublish_by_keyword_action:
type: mapping
label: 'Unpublish comment containing keyword(s) configuration'
mapping:
keywords:
type: sequence
label: 'Keywords'
sequence:
type: string
label: 'Keyword'
action.configuration.comment_unpublish_action:
type: action_configuration_default
label: 'Unpublish comment configuration'
comment.type.*:
type: config_entity
label: 'Comment type settings'
mapping:
id:
type: string
label: 'ID'
label:
type: label
label: 'Label'
target_entity_type_id:
type: string
label: 'Target Entity Type ID'
description:
type: text
label: 'Description'
field.storage_settings.comment:
type: mapping
label: 'Comment settings'
mapping:
comment_type:
label: 'Comment type'
type: string
field.value.comment:
type: mapping
label: 'Default value'
mapping:
status:
type: integer
label: 'Comment status'
cid:
type: integer
label: 'Last comment ID'
last_comment_timestamp:
type: integer
label: 'Last comment timestamp'
last_comment_name:
type: integer
label: 'Last comment name'
last_comment_uid:
type: integer
label: 'Last comment user ID'
comment_count:
type: integer
label: 'Number of comments'
field.field_settings.comment:
type: mapping
label: 'Comment settings'
mapping:
default_mode:
type: integer
label: 'Threading'
per_page:
type: integer
label: 'Comments per page'
anonymous:
type: integer
label: 'Mode'
form_location:
type: boolean
label: ' Allow comment title'
preview:
type: integer
label: 'Preview comment'