Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / node / config / schema / node.schema.yml
1 # Schema for the configuration files of the node module.
2
3 node.settings:
4   type: config_object
5   label: 'Node settings'
6   mapping:
7     use_admin_theme:
8       type: boolean
9       label: 'Use administration theme when editing or creating content'
10
11 node.type.*:
12   type: config_entity
13   label: 'Content type'
14   mapping:
15     name:
16       type: label
17       label: 'Name'
18     type:
19       type: string
20       label: 'Machine-readable name'
21     description:
22       type: text
23       label: 'Description'
24     help:
25       type: text
26       label: 'Explanation or submission guidelines'
27     new_revision:
28       type: boolean
29       label: 'Whether a new revision should be created by default'
30     preview_mode:
31       type: integer
32       label: 'Preview before submitting'
33     display_submitted:
34       type: boolean
35       label: 'Display setting for author and date Submitted by post information'
36
37 # Plugin \Drupal\node\Plugin\Search\NodeSearch
38 search.plugin.node_search:
39   type: mapping
40   label: 'Content search'
41   mapping:
42     rankings:
43       type: sequence
44       label: 'Content ranking'
45       sequence:
46         type: integer
47         label: 'Influence'
48
49 action.configuration.node_assign_owner_action:
50   type: mapping
51   label: 'Change the author of content configuration'
52   mapping:
53     owner_uid:
54       type: text
55       label: 'Username'
56
57 action.configuration.node_unpromote_action:
58   type: action_configuration_default
59   label: 'Demote selected content from front page configuration'
60
61 action.configuration.node_promote_action:
62   type: action_configuration_default
63   label: 'Promote selected content from front page configuration'
64
65 # @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0.
66 # @see https://www.drupal.org/node/2919303
67 action.configuration.node_publish_action:
68   type: action_configuration_default
69   label: 'Publish selected content configuration'
70
71 # @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0.
72 # @see https://www.drupal.org/node/2919303
73 action.configuration.node_unpublish_action:
74   type: action_configuration_default
75   label: 'Unpublish selected content configuration'
76
77 # @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0.
78 # @see https://www.drupal.org/node/2919303
79 action.configuration.node_save_action:
80   type: action_configuration_default
81   label: 'Save content configuration'
82
83 action.configuration.node_delete_action:
84   type: action_configuration_default
85   label: 'Delete content configuration'
86
87 action.configuration.node_make_sticky_action:
88   type: action_configuration_default
89   label: 'Make selected content sticky configuration'
90
91 action.configuration.node_make_unsticky_action:
92   type: action_configuration_default
93   label: 'Make selected content unsticky configuration'
94
95 action.configuration.node_unpublish_by_keyword_action:
96   type: mapping
97   label: 'Unpublish content containing keyword(s) configuration'
98   mapping:
99     keywords:
100       type: sequence
101       label: 'Keywords'
102       sequence:
103         type: string
104         label: 'Keyword'
105
106 block.settings.node_syndicate_block:
107   type: block_settings
108   label: 'Syndicate block'
109   mapping:
110     block_count:
111       type: integer
112       label: 'Block count'
113
114 condition.plugin.node_type:
115   type: condition.plugin
116   mapping:
117     bundles:
118       type: sequence
119       sequence:
120         type: string