TransitionInterface
interface TransitionInterface (View source)
| internal | The TransitionInterface should only be used by Workflows and Content Moderation. |
A transition value object that describes the transition between two states.
Constants
| PLUGIN_FORM_KEY |
The key of the transition plugin form. |
| DIRECTION_FROM |
The transition direction from. |
| DIRECTION_TO |
The transition direction to. |
Methods
string
id()
Gets the transition's ID.
string
label()
Gets the transition's label.
from()
Gets the transition's from states.
to()
Gets the transition's to state.
string
weight()
Gets the transition's weight.
Details
string
id()
Gets the transition's ID.
string
label()
Gets the transition's label.
StateInterface[]
from()
Gets the transition's from states.
StateInterface
to()
Gets the transition's to state.
string
weight()
Gets the transition's weight.