- 🇳🇱Netherlands eelkeblok Netherlands 🇳🇱
This will at least need some tests.
What would it take to support custom display modes for other entity types as well?
A content type (node) can have multiple Form Display Modes defined. At this moment only the form for the default form mode is available to configure for Akismet. The list of forms does not list the other Form Display Modes for a content type.
1. Add a Form Display Mode on this page /admin/structure/display-modes/form.
2. Go to Akismet settings and add a new form (/admin/config/content/akismet/add-form).
3. Open the list "Akismet Form" list. There is no entry in the list for the Form Display Mode created in step 1.
Create support for custom Form Display Modes.
- implement
- create tests
- commit
none.
add argument $bundle to hook_akismet_form_info.
none?
Needs work
1.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This will at least need some tests.
What would it take to support custom display modes for other entity types as well?