Install
Works with Drupal: ^9.2 || ^10.1 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
48.13 KB
MD5: c95d28f4a78225bdd782a16ade4487a7
SHA-1: 7f5a97c28d5fca8e4571f4116e09b8aac73c5008
SHA-256: 46f7a6d626f0d36d176b1b23259265537c60191df43209cd7253c0b8105a1da5
Download zip
84.66 KB
MD5: 2fa9e87d0cc01352d420b97160072f5a
SHA-1: 543fc04ce9f8d5b15709d7e44d98369f309915d8
SHA-256: a55169baf4bef833e2e4452a0c5bef8b54d3d6990824977003617e9a12a754d8
Release notes
Drupal 12 support
- Declares Drupal 12 compatibility (#3603329). Drupal 9 and 10 remain supported.
- Hooks are now OOP hook classes. Procedural wrappers remain for Drupal < 11.1.
Behavior changes
- Transitions now require edit access to the state field, in addition to update access to the entity (#3627259). Users who can update an entity but not edit its state field no longer see the transition buttons, and get a 403 on the confirmation route.
- Modules adding the
state-transition-formlink template should do so inhook_entity_type_build(). On Drupal 12,hook_module_implements_alter()no longer runs, so adding it inhook_entity_type_alter()may happen too late for State Machine to provide the confirmation form.