You are here

public function WorkflowGroup::getLabel in State Machine 8

Gets the translated label.

Return value

string The translated label.

Overrides WorkflowGroupInterface::getLabel

File

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

Class

WorkflowGroup
Defines the class for workflow groups.

Namespace

Drupal\state_machine\Plugin\WorkflowGroup

Code

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