protected function LingotekContentModerationSettingsForm::getWorkflowTransitions in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getWorkflowTransitions()
- 4.0.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getWorkflowTransitions()
- 3.0.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getWorkflowTransitions()
- 3.1.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getWorkflowTransitions()
- 3.2.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getWorkflowTransitions()
- 3.3.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getWorkflowTransitions()
- 3.4.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getWorkflowTransitions()
- 3.6.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getWorkflowTransitions()
- 3.7.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getWorkflowTransitions()
- 3.8.x src/Moderation/LingotekContentModerationSettingsForm.php \Drupal\lingotek\Moderation\LingotekContentModerationSettingsForm::getWorkflowTransitions()
Get workflow transitions helper method.
Parameters
\Drupal\workflows\WorkflowInterface $workflow: The workflow.
Return value
\Drupal\workflows\TransitionInterface[] An array of transition objects.
Deprecated
in lingotek:3.0.0 and is removed from lingotek:4.0.0. Use $workflow->getTypePlugin()->getTransitions() instead.
See also
\Drupal\workflows\WorkflowTypeInterface::getTransitions()
File
- src/
Moderation/ LingotekContentModerationSettingsForm.php, line 169
Class
- LingotekContentModerationSettingsForm
- Moderation settings form for the Lingotek content_moderation integration.
Namespace
Drupal\lingotek\ModerationCode
protected function getWorkflowTransitions(WorkflowInterface $workflow) {
return $workflow
->getTypePlugin()
->getTransitions();
}