You are here

public function WorkflowInterface::sortTransitions in Workflow 8

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 src/Entity/Workflow.php
Sorts all Transitions for this workflow, according to State weight.

File

src/Entity/WorkflowInterface.php, line 144

Class

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

Namespace

Drupal\workflow\Entity

Code

public function sortTransitions();