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.
Some times we don't want a given user to be able to revert a state (e.g. if a different OG group). So the module should call the "transition choice" hook.
Comments
Comment #1
NancyDruDepends on #1997242: ask other modules for permission in node forms.
Comment #2
NancyDruCommitted
Comment #4
johnvPlease see #2102193: Arguments are swapped in module_invoke_all('workflow', 'transition permitted') as a follow-up issue.