Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / workflows / src / StateInterface.php
index 6aa16e9d9863652e7a4da8d29750abc6455811cb..3335ea7452a597f239071616783101b21532baf4 100644 (file)
@@ -5,14 +5,17 @@ namespace Drupal\workflows;
 /**
  * An interface for state value objects.
  *
- * @see \Drupal\workflows\WorkflowTypeInterface::decorateState()
- *
  * @internal
- *   The workflow system is currently experimental and should only be leveraged
- *   by experimental modules and development releases of contributed modules.
+ *   The StateInterface should only be used by Workflows and Content Moderation.
+ * @todo Revisit the need for this in https://www.drupal.org/node/2902309.
  */
 interface StateInterface {
 
+  /**
+   * The key of the state plugin form.
+   */
+  const PLUGIN_FORM_KEY = 'state';
+
   /**
    * Gets the state's ID.
    *