You are here

public function LingotekProfileInterface::setWorkflowForTarget in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8.2 src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWorkflowForTarget()
  2. 4.0.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWorkflowForTarget()
  3. 3.0.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWorkflowForTarget()
  4. 3.1.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWorkflowForTarget()
  5. 3.2.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWorkflowForTarget()
  6. 3.3.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWorkflowForTarget()
  7. 3.4.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWorkflowForTarget()
  8. 3.5.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWorkflowForTarget()
  9. 3.7.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWorkflowForTarget()
  10. 3.8.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWorkflowForTarget()

Sets the workflow to be used for a given language.

Parameters

string $langcode: The language code.

string $value: The workflow identifier, used to request translation. If 'default', the default site workflow should be used.

Return value

$this

1 method overrides LingotekProfileInterface::setWorkflowForTarget()
LingotekProfile::setWorkflowForTarget in src/Entity/LingotekProfile.php
Sets the workflow to be used for a given language.

File

src/LingotekProfileInterface.php, line 283

Class

LingotekProfileInterface
Provides an interface defining a Lingotek profile entity.

Namespace

Drupal\lingotek

Code

public function setWorkflowForTarget($langcode, $value);