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.
Hello drupalists,
I would like to have an event (not an action) in Rules, which is fired, if a content is set to publish/unpublish.
Is there any solution for this ?
Greetings Berthold Lausch
Comments
Comment #1
BLausch CreditAttribution: BLausch commentedI already figured it out:
it goes like this:
Event: before saving content
Condition: node-status equals published AND node-unchanged:status equals unpublished.
Action: do something
really easy, if you have the right idea
Greetings Berhold Lausch
Comment #2
NWOM CreditAttribution: NWOM commented