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
- 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)