You are here

public function LingotekNoModerationConfigurationService::setDownloadTransition in Lingotek Translation 3.5.x

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

Sets the moderation transition ID that triggers a download.

Parameters

string $entity_type_id: An entity type ID.

string $bundle: A bundle.

string $transition: The moderation transition ID.

Return value

string The moderation transition ID that should be triggered after a download.

Overrides LingotekModerationConfigurationServiceInterface::setDownloadTransition

File

src/Moderation/LingotekNoModerationConfigurationService.php, line 38

Class

LingotekNoModerationConfigurationService
Moderation configuration service when no other integration applies.

Namespace

Drupal\lingotek\Moderation

Code

public function setDownloadTransition($entity_type_id, $bundle, $transition) {

  // Do nothing.
}