Adjusting a node’s published time when publishing through content moderation
I use the Content Moderation module on my personal site to managed my publication workflow. One of my pet peeves if when I accidentally forget to adjust a blog post’s creation timestamp once published. Sometimes it is only a few hours old, sometimes it is a week. I finally sat down to fix this small annoyance. Only to find out fixing it wasn’t as simple as I would have thought.
I am fairly used to working with the State Machine module, as it is a backbone in Drupal Commerce for order workflows. We…