public function LingotekProfile::setWorkflow in Lingotek Translation 3.7.x
Same name and namespace in other branches
- 8 src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
- 8.2 src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
- 4.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
- 3.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
- 3.1.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
- 3.2.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
- 3.3.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
- 3.4.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
- 3.5.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
- 3.6.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
- 3.8.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setWorkflow()
Sets the workflow of the profile.
Parameters
string $workflow: The workflow identifier, used to request translations. If 'default', the default site project should be used.
Return value
$this
Overrides LingotekProfileInterface::setWorkflow
File
- src/
Entity/ LingotekProfile.php, line 814
Class
- LingotekProfile
- Defines the LingotekProfile entity.
Namespace
Drupal\lingotek\EntityCode
public function setWorkflow($workflow) {
$this->workflow = $workflow;
return $this;
}