You are here

public function LingotekProfile::getWorkflow in Lingotek Translation 4.0.x

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

Gets the workflow of the profile.

Return value

string The workflow identifier, used to request translations. If 'default', the default site workflow should be used.

Overrides LingotekProfileInterface::getWorkflow

2 calls to LingotekProfile::getWorkflow()
LingotekProfile::getWorkflowForTarget in src/Entity/LingotekProfile.php
Gets the workflow to be used for a given language.
LingotekProfile::preSave in src/Entity/LingotekProfile.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/LingotekProfile.php, line 807

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function getWorkflow() {
  return $this->workflow;
}