node.schema.yml

Same filename in other branches
  1. 9 core/modules/node/config/schema/node.schema.yml
  2. 8.9.x core/modules/node/config/schema/node.schema.yml
  3. 10 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. constraints:
  6. FullyValidatable: ~
  7. mapping:
  8. use_admin_theme:
  9. type: boolean
  10. label: 'Use administration theme when editing or creating content'
  11. node.type.*:
  12. type: config_entity
  13. label: 'Content type'
  14. constraints:
  15. FullyValidatable: ~
  16. mapping:
  17. name:
  18. type: required_label
  19. label: 'Name'
  20. type:
  21. type: machine_name
  22. label: 'Machine-readable name'
  23. constraints:
  24. # Node type machine names are specifically limited to 32 characters.
  25. # @see \Drupal\node\NodeTypeForm::form()
  26. Length:
  27. max: 32
  28. description:
  29. type: text
  30. label: 'Description'
  31. nullable: true
  32. constraints:
  33. NotBlank:
  34. allowNull: true
  35. help:
  36. type: text
  37. label: 'Explanation or submission guidelines'
  38. nullable: true
  39. constraints:
  40. NotBlank:
  41. allowNull: true
  42. new_revision:
  43. type: boolean
  44. label: 'Whether a new revision should be created by default'
  45. preview_mode:
  46. type: integer
  47. label: 'Preview before submitting'
  48. constraints:
  49. # These are the values of the DRUPAL_DISABLED, DRUPAL_OPTIONAL, and
  50. # DRUPAL_REQUIRED constants.
  51. # @see \Drupal\node\NodeTypeForm::form()
  52. Choice: [0, 1, 2]
  53. display_submitted:
  54. type: boolean
  55. label: 'Display setting for author and date Submitted by post information'
  56. # Plugin \Drupal\node\Plugin\Search\NodeSearch
  57. search.plugin.node_search:
  58. type: mapping
  59. label: 'Content search'
  60. mapping:
  61. rankings:
  62. type: sequence
  63. label: 'Content ranking'
  64. orderby: key
  65. sequence:
  66. type: integer
  67. label: 'Influence'
  68. action.configuration.node_unpromote_action:
  69. type: action_configuration_default
  70. label: 'Demote selected content from front page configuration'
  71. action.configuration.node_promote_action:
  72. type: action_configuration_default
  73. label: 'Promote selected content from front page configuration'
  74. action.configuration.node_make_sticky_action:
  75. type: action_configuration_default
  76. label: 'Make selected content sticky configuration'
  77. action.configuration.node_make_unsticky_action:
  78. type: action_configuration_default
  79. label: 'Make selected content unsticky configuration'
  80. block.settings.node_syndicate_block:
  81. type: block_settings
  82. label: 'Syndicate block'
  83. mapping:
  84. block_count:
  85. type: integer
  86. label: 'Block count'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.