summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2017-09-06 11:39:27 -0500
committerxjm2017-09-06 11:39:27 -0500
commit1f6adcd816e0b5782197a17e42ec9a8f00885838 (patch)
tree01937cdb33df7082f22840ccb761c0a5f0da8fa1
parent34697034b7aa6041b8a94f001875313504b32591 (diff)
Issue #2897130 followup by timmillwood, Wim Leers: Fix @internal documentation.
-rw-r--r--core/modules/workflows/src/StateInterface.php4
-rw-r--r--core/modules/workflows/src/TransitionInterface.php6
2 files changed, 10 insertions, 0 deletions
diff --git a/core/modules/workflows/src/StateInterface.php b/core/modules/workflows/src/StateInterface.php
index 771658c..3335ea7 100644
--- a/core/modules/workflows/src/StateInterface.php
+++ b/core/modules/workflows/src/StateInterface.php
@@ -4,6 +4,10 @@ namespace Drupal\workflows;
/**
* An interface for state value objects.
+ *
+ * @internal
+ * 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 {
diff --git a/core/modules/workflows/src/TransitionInterface.php b/core/modules/workflows/src/TransitionInterface.php
index 7db34e8..ae3f023 100644
--- a/core/modules/workflows/src/TransitionInterface.php
+++ b/core/modules/workflows/src/TransitionInterface.php
@@ -4,6 +4,12 @@ namespace Drupal\workflows;
/**
* A transition value object that describes the transition between two states.
+ *
+ * @internal
+ * 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 {