You are here

public function Workflow::getId in State Machine 8

Gets the workflow ID.

Return value

string The workflow ID.

Overrides WorkflowInterface::getId

File

src/Plugin/Workflow/Workflow.php, line 83

Class

Workflow
Defines the class for workflows.

Namespace

Drupal\state_machine\Plugin\Workflow

Code

public function getId() {
  return $this->pluginDefinition['id'];
}