function TransitionInterface::weight
Same name in other branches
- 8.9.x core/modules/workflows/src/TransitionInterface.php \Drupal\workflows\TransitionInterface::weight()
- 10 core/modules/workflows/src/TransitionInterface.php \Drupal\workflows\TransitionInterface::weight()
- 11.x core/modules/workflows/src/TransitionInterface.php \Drupal\workflows\TransitionInterface::weight()
Gets the transition's weight.
Return value
string The transition's weight.
1 method overrides TransitionInterface::weight()
- Transition::weight in core/
modules/ workflows/ src/ Transition.php - Gets the transition's weight.
File
-
core/
modules/ workflows/ src/ TransitionInterface.php, line 69
Class
- TransitionInterface
- A transition value object that describes the transition between two states.
Namespace
Drupal\workflowsCode
public function weight();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.