You are here

README.txt in Config Entity Revisions 8.2

Contact Form Revisions
======================

This module integrates config entity revisions with the Contact Form module,
providing revisions and moderation for contact form changes.


[ ] Review the module you're wanting to extend, noting:
    Module Machine Name: core:contact
    Config Entity Machine Name: contact_form
    Config Entity Parameter Placeholder: contact_form
    Admin Routes:
    - Add form: contact.form_add
    - Edit form: entity.contact_form.edit_form
    - Delete form: entity.contact_form.delete_form
    - Your proposed revisions path and route name:
      /admin/structure/contact/manage/{contact_form}/revisions
    - Your proposed revision view, revert and delete paths and route names:
      /admin/structure/contact/manage/{contact_form}/revision/{revision_id}
      /admin/structure/contact/manage/{contact_form}/revision/{revision_id}/delete
      /admin/structure/contact/manage/{contact_form}/revision/{revision_id}/revert
    - Proposed permissions needed to view and manage revisions
    - Any route callbacks you might also need to extend / override
      (Are there content entities related to the config entity that will need
      to have revision IDs recorded and get the associated config entity
      revision loaded when the content entity is loaded? - see webform
      submissions).
      Associated Content Entity Machine Name: Message
[ ] Copy an existing implementation module
[ ] Rename files and classes
[ ] Basic submodule info (.info.yml)
[ ] Documentation (ideally do as you complete the following)
[ ] Unit tests (ideally do as you complete the following)
[ ] Update install schema
[ ] Implement install hooks as required
[ ] Implement uninstall hooks
[ ] Revision creation
[ ] Revision table
[ ] Parameter Converter for config entity (easier to debug when you have some
    revisions already created)
[ ] Revision Reversion
[ ] Revision Deletion (associated content entities!)
[ ] Workflow integration
[ ] Views Integration

If there's an associated content entity:
[ ] Add form uses currently published config entity revision
[ ] Add form stores the current config entity revision ID
[ ] Edit form loads the matching config entity revision
[ ] View content entity loads appropriate config entity revision
[ ] Deletion of a config entity revision cascade deletes content entities
    after warning (or other handling if more appropriate)

File

modules/contact_form_revisions/README.txt
View source
  1. Contact Form Revisions
  2. ======================
  3. This module integrates config entity revisions with the Contact Form module,
  4. providing revisions and moderation for contact form changes.
  5. [ ] Review the module you're wanting to extend, noting:
  6. Module Machine Name: core:contact
  7. Config Entity Machine Name: contact_form
  8. Config Entity Parameter Placeholder: contact_form
  9. Admin Routes:
  10. - Add form: contact.form_add
  11. - Edit form: entity.contact_form.edit_form
  12. - Delete form: entity.contact_form.delete_form
  13. - Your proposed revisions path and route name:
  14. /admin/structure/contact/manage/{contact_form}/revisions
  15. - Your proposed revision view, revert and delete paths and route names:
  16. /admin/structure/contact/manage/{contact_form}/revision/{revision_id}
  17. /admin/structure/contact/manage/{contact_form}/revision/{revision_id}/delete
  18. /admin/structure/contact/manage/{contact_form}/revision/{revision_id}/revert
  19. - Proposed permissions needed to view and manage revisions
  20. - Any route callbacks you might also need to extend / override
  21. (Are there content entities related to the config entity that will need
  22. to have revision IDs recorded and get the associated config entity
  23. revision loaded when the content entity is loaded? - see webform
  24. submissions).
  25. Associated Content Entity Machine Name: Message
  26. [ ] Copy an existing implementation module
  27. [ ] Rename files and classes
  28. [ ] Basic submodule info (.info.yml)
  29. [ ] Documentation (ideally do as you complete the following)
  30. [ ] Unit tests (ideally do as you complete the following)
  31. [ ] Update install schema
  32. [ ] Implement install hooks as required
  33. [ ] Implement uninstall hooks
  34. [ ] Revision creation
  35. [ ] Revision table
  36. [ ] Parameter Converter for config entity (easier to debug when you have some
  37. revisions already created)
  38. [ ] Revision Reversion
  39. [ ] Revision Deletion (associated content entities!)
  40. [ ] Workflow integration
  41. [ ] Views Integration
  42. If there's an associated content entity:
  43. [ ] Add form uses currently published config entity revision
  44. [ ] Add form stores the current config entity revision ID
  45. [ ] Edit form loads the matching config entity revision
  46. [ ] View content entity loads appropriate config entity revision
  47. [ ] Deletion of a config entity revision cascade deletes content entities
  48. after warning (or other handling if more appropriate)