Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / workflows / src / TransitionInterface.php
index c178b22da1e2c6d6c4c33f979fbace7d3d6ba5f2..ae3f0231be4a52c97e59f1d9ff28ff0014c041b4 100644 (file)
@@ -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.
    *