Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This issue mirrors Default Moderation state of non draft state sets initial state as Draft, but is specific to the 7.x-1.x-dev branch.
This issue also appears to be related to Default Moderation state of Published creates Drafts instead.
The patch attached is similar to that of the first issue mentioned, but is more robust and does not contain any drupal_set_message() calls.
Comment | File | Size | Author |
---|---|---|---|
#1 | use_default_moderation_state_from_node_type_settings-2446251-1.patch | 4.88 KB | caxy4 |
Comments
Comment #1
caxy4 CreditAttribution: caxy4 commentedAttaching patch.
Comment #2
vikramy CreditAttribution: vikramy commentedThanks Alex. This works.
Comment #3
ann b CreditAttribution: ann b commentedPatch #1 worked for me on version 7.x-1.4. Thank you.