Closed (fixed)
Project:
State Machine
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2012 at 18:34 UTC
Updated:
21 Aug 2012 at 05:27 UTC
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 commentedAttempt at http://drupalcode.org/project/state_machine.git/commit/7c2bb7e
Comment #2
fmitchell commentedComment #4
kepford commentedHow do you ignore content types? Can't find a setting.
Comment #5
fmitchell commentedIn your plugin, create a condition that would return TRUE in the ignore method. You could do something like:
Comment #6
kepford commentedThanks Fredric. I was stumped. I had to modify you snippet a bit to get at the node type.