node.schema.yml

Same filename in other branches
  1. 8.9.x core/modules/node/config/schema/node.schema.yml
  2. 10 core/modules/node/config/schema/node.schema.yml
  3. 11.x 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. action.configuration.node_make_sticky_action:
  60. type: action_configuration_default
  61. label: 'Make selected content sticky configuration'
  62. action.configuration.node_make_unsticky_action:
  63. type: action_configuration_default
  64. label: 'Make selected content unsticky configuration'
  65. action.configuration.node_unpublish_by_keyword_action:
  66. type: mapping
  67. label: 'Unpublish content containing keyword(s) configuration'
  68. mapping:
  69. keywords:
  70. type: sequence
  71. label: 'Keywords'
  72. sequence:
  73. type: string
  74. label: 'Keyword'
  75. block.settings.node_syndicate_block:
  76. type: block_settings
  77. label: 'Syndicate block'
  78. mapping:
  79. block_count:
  80. type: integer
  81. label: 'Block count'
  82. condition.plugin.node_type:
  83. deprecated: "The 'condition.plugin.node_type' config schema is deprecated in drupal:9.3.0 and is removed from drupal 10.0.0. Use the 'entity_bundle:node_type' key instead to define a node type condition. See https://www.drupal.org/node/2983299."
  84. type: condition.plugin
  85. mapping:
  86. bundles:
  87. type: sequence
  88. sequence:
  89. type: string

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