function State::id

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

Overrides StateInterface::id

1 call to State::id()
State::getTransitionTo in core/modules/workflows/src/State.php
Gets the Transition object for the provided state ID.

File

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

Class

State
A value object representing a workflow state.

Namespace

Drupal\workflows

Code

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

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