- 🇺🇸United States smustgrave
Closing this as outdated as it moved to PNMI 7 years ago with no follow up
As part of #2582955: Contact module roadmap: 80% usecase of webforms in core → first step is to bring contact message storage from contact_storage → into core.
Add boolean 'store messages' to each ContactForm content entity to optionally store submitted messages
Add new field to schema
Add said field to ContactFormEditForm
Add update hook to set default value (false)
Alter message entity to add an ID and langcode
Add a new storage handler that extends from the default SQL storage but with a custom ::save()
implementation. If the bundle entity does not have the 'store messages' flag set to TRUE, do nothing in save, otherwise defer to the parent.
Alter message entity to use this storage handler.
Update hook to create missing entity fields/table (in a fashion sympathetic to sites that already have contact_storage module enabled - we can test against contatct_storage_test module is already in core).
Test coverage
All of the above
New field on Contact Form edit form to toggle storage of messages
None
New table for storage of messages.
New ID and langcode base fields for Message entity.
Closed: outdated
10.1 ✨
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Closing this as outdated as it moved to PNMI 7 years ago with no follow up