| Method | Description | Returns |
|---|---|---|
| isAllowedForCurrentUser(RevisionBranch $branch) | Checks whether the user can do the transition for the provided branch | bool |
| isForward() | Determines whether the transition aims to advance the record | bool |
| isMakeActiveTransition() | Determines whether the transition aims to advance the record | bool |
| getId() | int | |
| getName() | string | |
| getPosition() | int | |
| isTransitionEveryone() | bool | |
| getCreated() | Date the record was created. | DateTime |
| getModified() | Last modification date for the record. | DateTime |
| getWorkflow() | Workflow | |
| getSourceStep() | Step | |
| getTargetStep() | Step | |
| getAdvanceGroups() | Collection (Group) | |
| getApprovalGroups() | Collection (Group) | |
| isNewRecord() | Check if the record is a new record | bool |
| isHierarchicalModel() | Check whether a model is a hierarchical model, i.e. can have children | bool |
| isVersionedModel() | Check whether a model is versioned | bool |
| getFromUid() | Get the source uid to match diagram elements | string |
| getToUid() | Get the target uid to match diagram elements | string |
| getData() | Get the data of the transition in a format usable for the diagram | array |
Workflows\Models\Backend\Transition
Transition