You are here

public function WorkflowInterface::sortTransitions in Workflow 7.2

Sorts all Transitions for this workflow, according to State weight.

This is only needed for the Admin UI.

1 method overrides WorkflowInterface::sortTransitions()
Workflow::sortTransitions in includes/Entity/Workflow.php
Sorts all Transitions for this workflow, according to State weight.

File

includes/Entity/WorkflowInterface.php, line 152
Contains Drupal\workflow\Entity\WorkflowInterface.

Class

WorkflowInterface
Defines a common interface for Workflow*Transition* objects.

Code

public function sortTransitions();