public function State::id in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workflows/src/State.php \Drupal\workflows\State::id()
Gets the state's ID.
Return value
string The state's 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\workflowsCode
public function id() {
return $this->id;
}