You are here

public function WorkflowState::getId in State Machine 8

Gets the ID.

Return value

string The ID.

File

src/Plugin/Workflow/WorkflowState.php, line 43

Class

WorkflowState
Defines the class for workflow states.

Namespace

Drupal\state_machine\Plugin\Workflow

Code

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