summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-07-18 21:42:06 (GMT)
committer Alex Pott2013-07-18 21:42:06 (GMT)
commitdc2304f23b071808c6e2baa6958093ce276743c9 (patch)
tree4cd378d68f5af639709f55578acdbb9e24312ab3
parent0e5386e3ec7234f3996a447dba66f20c98fc460a (diff)
Issue #2029405 by YesCT, vijaycs85, rahul.shinde: Write configuration schema for node types.
-rw-r--r--core/modules/node/config/schema/node.schema.yml65
1 files changed, 65 insertions, 0 deletions
diff --git a/core/modules/node/config/schema/node.schema.yml b/core/modules/node/config/schema/node.schema.yml
index 64eecd4..2ad1c17 100644
--- a/core/modules/node/config/schema/node.schema.yml
+++ b/core/modules/node/config/schema/node.schema.yml
@@ -7,3 +7,68 @@ node.settings:
items_per_page:
type: integer
label: 'Number of posts on front page'
+
+node.type.*:
+ type: mapping
+ label: 'Content type'
+ mapping:
+ type:
+ type: string
+ label: 'Machine-readable name'
+ uuid:
+ type: string
+ label: 'UUID'
+ name:
+ type: label
+ label: 'Name'
+ description:
+ type: text
+ label: 'Description'
+ help:
+ type: text
+ label: 'Explanation or submission guidelines'
+ has_title:
+ type: boolean
+ label: 'Has title'
+ title_label:
+ type: label
+ label: 'Title field label'
+ settings:
+ type: mapping
+ label: 'Settings'
+ mapping:
+ node:
+ type: node.settings.node
+ status:
+ type: boolean
+ label: 'Enabled status of the configuration entity'
+ langcode:
+ type: string
+ label: 'Language'
+
+node.settings.node:
+ type: mapping
+ label: 'Content type settings'
+ mapping:
+ preview:
+ type: integer
+ label: 'Preview before submitting'
+ options:
+ type: mapping
+ label: 'Publishing options'
+ mapping:
+ status:
+ type: string
+ label: 'Published'
+ promote:
+ type: string
+ label: 'Promoted to front page'
+ sticky:
+ type: string
+ label: 'Sticky at top of lists'
+ revision:
+ type: string
+ label: 'Create new revision'
+ submitted:
+ type: boolean
+ label: 'Display setting for author and date Submitted by post information'