function State::weight

Same name in other branches
  1. 9 core/modules/workflows/src/State.php \Drupal\workflows\State::weight()
  2. 10 core/modules/workflows/src/State.php \Drupal\workflows\State::weight()
  3. 11.x core/modules/workflows/src/State.php \Drupal\workflows\State::weight()

Overrides StateInterface::weight

File

core/modules/workflows/src/State.php, line 74

Class

State
A value object representing a workflow state.

Namespace

Drupal\workflows

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.