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.
Problem/Motivation
taxonomy_entity_type_alter() excludes taxonomy terms from content_moderation.
However this is altering information added by content_moderation module - and taxonomy module doesn't need to know about content_moderation at all. So we could instead exclude taxonomy terms in content_moderation itself.
Steps to reproduce
Proposed resolution
See #3192363: Ensure that moderation can not be enabled for the 'workspace' entity type for existing code in content_moderation doing the same thing for other entity types.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#5 | interddiff_3_5.txt | 654 bytes | anmolgoyal74 |
#5 | 3204883-5.patch | 2.91 KB | anmolgoyal74 |
#3 | 3204883-3.patch | 2.91 KB | anmolgoyal74 |
Comments
Comment #2
anmolgoyal74 CreditAttribution: anmolgoyal74 at OpenSense Labs for DrupalFit commentedI'm working on this.
Comment #3
anmolgoyal74 CreditAttribution: anmolgoyal74 at OpenSense Labs for DrupalFit commentedMoved exclusion of taxonomy terms from moderation to content_moderation module.
Comment #4
renatogThe code indentation for the 3rd line is incorrect.
The first line has 1 space after // and 2nd has 3 ok
The 3rd line should have the save of the 1st one with 1 space, that's right?
Example:
Comment #5
anmolgoyal74 CreditAttribution: anmolgoyal74 at OpenSense Labs for DrupalFit commentedUpdated indentation.
Comment #6
adalbertov CreditAttribution: adalbertov at CI&T commentedHello, just checked the patch. The indentation seems to be in order and it work properly, so I'm moving it to RTBC
Comment #8
benjifisherPlease do not ask the testbot to try again until #3207086: [HEAD BROKEN] Consistent failure in MonthDatePluginTest is fixed.
Comment #9
alexpott#3207086: [HEAD BROKEN] Consistent failure in MonthDatePluginTest is fixed. I have not reviewed the code.
Comment #11
catchCommitted 1ae2680 and pushed to 9.2.x. Thanks!