You are here

node_revision_delete.schema.yml in Node Revision Delete 8

config/schema/node_revision_delete.schema.yml

File

config/schema/node_revision_delete.schema.yml
View source
  1. node_revision_delete.settings:
  2. type: config_object
  3. label: 'Node Revision Delete settings'
  4. mapping:
  5. delete_newer:
  6. type: boolean
  7. label: 'Whether or not we need to keep the revisions newer than the current revision.'
  8. node_revision_delete_cron:
  9. type: integer
  10. label: 'Number of revisions to remove in each cron run'
  11. node_revision_delete_time:
  12. type: integer
  13. label: 'Frequency with which to delete revisions while cron is running'
  14. node_revision_delete_minimum_age_to_delete_time:
  15. type: mapping
  16. label: 'Time options to know the minimum age that the revision must have to be delete'
  17. mapping:
  18. max_number:
  19. type: integer
  20. label: The maximum number for minimum_age_to_delete configuration'
  21. time:
  22. type: string
  23. label: 'The time value for minimum_age_to_delete configuration (days, weeks or months)'
  24. node_revision_delete_when_to_delete_time:
  25. type: mapping
  26. label: 'Time options for the inactivity time that the revision must have to be deleted'
  27. mapping:
  28. max_number:
  29. type: integer
  30. label: 'The maximum number for when_to_delete configuration'
  31. time:
  32. type: string
  33. label: 'The time value for when_to_delete configuration (days, weeks or months)'
  34. node.type.*.third_party.node_revision_delete:
  35. type: mapping
  36. label: 'Per-content type Node Revision Delete settings'
  37. mapping:
  38. minimum_revisions_to_keep:
  39. type: integer
  40. label: 'Minimum number of revisions to keep'
  41. minimum_age_to_delete:
  42. type: integer
  43. label: 'Minimum age in months of revision to delete'
  44. when_to_delete:
  45. type: integer
  46. label: 'Number of inactivity months to wait for delete a revision'