You are here

public function LingotekNoModerationConfigurationService::setUploadStatus in Lingotek Translation 3.4.x

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

Sets the moderation status ID that triggers an upload.

Parameters

string $entity_type_id: An entity type ID.

string $bundle: A bundle.

string $status: The moderation status ID.

Return value

string The moderation status ID that triggers an upload.

Overrides LingotekModerationConfigurationServiceInterface::setUploadStatus

File

src/Moderation/LingotekNoModerationConfigurationService.php, line 31

Class

LingotekNoModerationConfigurationService
Moderation configuration service when no other integration applies.

Namespace

Drupal\lingotek\Moderation

Code

public function setUploadStatus($entity_type_id, $bundle, $status) {

  // Do nothing.
}