X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fworkflows%2Fsrc%2FStateInterface.php;h=3335ea7452a597f239071616783101b21532baf4;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=6aa16e9d9863652e7a4da8d29750abc6455811cb;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/workflows/src/StateInterface.php b/web/core/modules/workflows/src/StateInterface.php index 6aa16e9d9..3335ea745 100644 --- a/web/core/modules/workflows/src/StateInterface.php +++ b/web/core/modules/workflows/src/StateInterface.php @@ -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. *