public function Transition::weight in Drupal 9
Same name and namespace in other branches
- 8 core/modules/workflows/src/Transition.php \Drupal\workflows\Transition::weight()
Gets the transition's weight.
Return value
string The transition's weight.
Overrides TransitionInterface::weight
File
- core/
modules/ workflows/ src/ Transition.php, line 108
Class
- Transition
- A transition value object that describes the transition between states.
Namespace
Drupal\workflowsCode
public function weight() {
return $this->weight;
}