public function LingotekWorkbenchModerationConfigurationService::getUploadStatus in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekWorkbenchModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService::getUploadStatus()
- 3.1.x src/Moderation/LingotekWorkbenchModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService::getUploadStatus()
- 3.2.x src/Moderation/LingotekWorkbenchModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService::getUploadStatus()
- 3.3.x src/Moderation/LingotekWorkbenchModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService::getUploadStatus()
- 3.4.x src/Moderation/LingotekWorkbenchModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService::getUploadStatus()
- 3.5.x src/Moderation/LingotekWorkbenchModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService::getUploadStatus()
- 3.6.x src/Moderation/LingotekWorkbenchModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService::getUploadStatus()
- 3.7.x src/Moderation/LingotekWorkbenchModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService::getUploadStatus()
- 3.8.x src/Moderation/LingotekWorkbenchModerationConfigurationService.php \Drupal\lingotek\Moderation\LingotekWorkbenchModerationConfigurationService::getUploadStatus()
Gets the moderation status ID that triggers an upload.
Parameters
string $entity_type_id: An entity type ID.
string $bundle: A bundle.
Return value
string The moderation status ID that triggers an upload.
Overrides LingotekModerationConfigurationServiceInterface::getUploadStatus
File
- src/
Moderation/ LingotekWorkbenchModerationConfigurationService.php, line 40
Class
- LingotekWorkbenchModerationConfigurationService
- Manages workbench moderation settings in the Lingotek integration.
Namespace
Drupal\lingotek\ModerationCode
public function getUploadStatus($entity_type_id, $bundle) {
$config = $this->configFactory
->get('lingotek.settings');
$upload_status = $config
->get('translate.entity.' . $entity_type_id . '.' . $bundle . '.workbench_moderation.upload_status');
return $upload_status;
}