You are here

public function WorkflowTransitionInterface::getLangcode in Workflow 8

Get the language code for which the Transition is valid.

@todo OK?? Shouldn't we use entity's language() method for langcode?

Return value

string $langcode

1 method overrides WorkflowTransitionInterface::getLangcode()
WorkflowTransition::getLangcode in src/Entity/WorkflowTransition.php
Get the language code for which the Transition is valid.

File

src/Entity/WorkflowTransitionInterface.php, line 182

Class

WorkflowTransitionInterface
Defines a common interface for Workflow*Transition* objects.

Namespace

Drupal\workflow\Entity

Code

public function getLangcode();