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.
I've had an awful time with features and SIDs being reassigned on import, so I've resolved to dynamically load SIDs from state names in all of my customizations that leverage workflow. Unfortunately, I cannot for the life of me figure out what function I would need to call to load a State Name by SID. I'm assuming there is such a function and that I wouldn't need to query the database for this info. Am I overlooking something?
Comments
Comment #2
johnvComment #3
millerhun CreditAttribution: millerhun commentedComment #4
johnvCheck the workflow.module file:
Or in WorkflowState:
Comment #5
garphy CreditAttribution: garphy at ICI LA LUNE commented