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.
Not an easy way to exclude a content type from going through workflow. May want to consider common content types being automatically ignored, like webform.
Comments
Comment #1
fmitchell CreditAttribution: fmitchell commentedAttempt at http://drupalcode.org/project/state_machine.git/commit/7c2bb7e
Comment #2
fmitchell CreditAttribution: fmitchell commentedComment #4
kepford CreditAttribution: kepford commentedHow do you ignore content types? Can't find a setting.
Comment #5
fmitchell CreditAttribution: fmitchell commentedIn your plugin, create a condition that would return TRUE in the ignore method. You could do something like:
Comment #6
kepford CreditAttribution: kepford commentedThanks Fredric. I was stumped. I had to modify you snippet a bit to get at the node type.