X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fworkflows%2Fsrc%2FTransitionInterface.php;fp=web%2Fcore%2Fmodules%2Fworkflows%2Fsrc%2FTransitionInterface.php;h=ae3f0231be4a52c97e59f1d9ff28ff0014c041b4;hp=c178b22da1e2c6d6c4c33f979fbace7d3d6ba5f2;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/workflows/src/TransitionInterface.php b/web/core/modules/workflows/src/TransitionInterface.php index c178b22da..ae3f0231b 100644 --- a/web/core/modules/workflows/src/TransitionInterface.php +++ b/web/core/modules/workflows/src/TransitionInterface.php @@ -6,11 +6,18 @@ namespace Drupal\workflows; * A transition value object that describes the transition between two states. * * @internal - * The workflow system is currently experimental and should only be leveraged - * by experimental modules and development releases of contributed modules. + * The TransitionInterface should only be used by Workflows and Content + * Moderation. + * + * @todo Revisit the need for this in https://www.drupal.org/node/2902309. */ interface TransitionInterface { + /** + * The key of the transition plugin form. + */ + const PLUGIN_FORM_KEY = 'transition'; + /** * Gets the transition's ID. *