You are here

public function Transition::weight in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workflows/src/Transition.php \Drupal\workflows\Transition::weight()
  2. 9 core/modules/workflows/src/Transition.php \Drupal\workflows\Transition::weight()

File

core/modules/workflows/src/Transition.php, line 108

Class

Transition
A transition value object that describes the transition between states.

Namespace

Drupal\workflows

Code

public function weight() {
  return $this->weight;
}