projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
modules
/
workflows
/
src
/
TransitionInterface.php
diff --git
a/web/core/modules/workflows/src/TransitionInterface.php
b/web/core/modules/workflows/src/TransitionInterface.php
index ae3f0231be4a52c97e59f1d9ff28ff0014c041b4..83e6bda4896b007d54cfa4402b9bade9c3668ad3 100644
(file)
--- a/
web/core/modules/workflows/src/TransitionInterface.php
+++ b/
web/core/modules/workflows/src/TransitionInterface.php
@@
-18,6
+18,16
@@
interface TransitionInterface {
*/
const PLUGIN_FORM_KEY = 'transition';
+ /**
+ * The transition direction from.
+ */
+ const DIRECTION_FROM = 'from';
+
+ /**
+ * The transition direction to.
+ */
+ const DIRECTION_TO = 'to';
+
/**
* Gets the transition's ID.
*