You are here

node.schema.yml in Drupal 8

Same filename and directory in other branches
  1. 9 core/modules/node/config/schema/node.schema.yml
core/modules/node/config/schema/node.schema.yml

File

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