You are here

public function WorkflowGroup::getWorkflowClass in State Machine 8

Gets the workflow class.

By default all workflows use the same class. A group can choose to override the class for its workflows, to satisfy advanced use cases.

Return value

string The workflow class.

Overrides WorkflowGroupInterface::getWorkflowClass

File

src/Plugin/WorkflowGroup/WorkflowGroup.php, line 36

Class

WorkflowGroup
Defines the class for workflow groups.

Namespace

Drupal\state_machine\Plugin\WorkflowGroup

Code

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