LingotekNoModerationConfigurationService.php in Lingotek Translation 3.3.x
Same filename and directory in other branches
- 8.2 src/Moderation/LingotekNoModerationConfigurationService.php
- 4.0.x src/Moderation/LingotekNoModerationConfigurationService.php
- 3.0.x src/Moderation/LingotekNoModerationConfigurationService.php
- 3.1.x src/Moderation/LingotekNoModerationConfigurationService.php
- 3.2.x src/Moderation/LingotekNoModerationConfigurationService.php
- 3.4.x src/Moderation/LingotekNoModerationConfigurationService.php
- 3.5.x src/Moderation/LingotekNoModerationConfigurationService.php
- 3.6.x src/Moderation/LingotekNoModerationConfigurationService.php
- 3.7.x src/Moderation/LingotekNoModerationConfigurationService.php
- 3.8.x src/Moderation/LingotekNoModerationConfigurationService.php
Namespace
Drupal\lingotek\ModerationFile
src/Moderation/LingotekNoModerationConfigurationService.phpView source
<?php
namespace Drupal\lingotek\Moderation;
/**
* Moderation configuration service when no other integration applies.
*
* @package Drupal\lingotek\Moderation
*/
class LingotekNoModerationConfigurationService implements LingotekModerationConfigurationServiceInterface {
use LingotekNoModerationCheckTrait;
/**
* {@inheritdoc}
*/
public function getUploadStatus($entity_type_id, $bundle) {
return NULL;
}
/**
* {@inheritdoc}
*/
public function getDownloadTransition($entity_type_id, $bundle) {
return NULL;
}
/**
* {@inheritdoc}
*/
public function setUploadStatus($entity_type_id, $bundle, $status) {
// Do nothing.
}
/**
* {@inheritdoc}
*/
public function setDownloadTransition($entity_type_id, $bundle, $transition) {
// Do nothing.
}
}
Classes
Name | Description |
---|---|
LingotekNoModerationConfigurationService | Moderation configuration service when no other integration applies. |