You are here

public function Workflow::getLabel in State Machine 8

Gets the translated label.

Return value

string The translated label.

Overrides WorkflowInterface::getLabel

File

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

Class

Workflow
Defines the class for workflows.

Namespace

Drupal\state_machine\Plugin\Workflow

Code

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