You are here

class LingotekNoModerationConfigurationService in Lingotek Translation 3.1.x

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

Moderation configuration service when no other integration applies.

@package Drupal\lingotek\Moderation

Hierarchy

Expanded class hierarchy of LingotekNoModerationConfigurationService

1 string reference to 'LingotekNoModerationConfigurationService'
lingotek.services.yml in ./lingotek.services.yml
lingotek.services.yml
1 service uses LingotekNoModerationConfigurationService
lingotek.no_moderation_configuration in ./lingotek.services.yml
Drupal\lingotek\Moderation\LingotekNoModerationConfigurationService

File

src/Moderation/LingotekNoModerationConfigurationService.php, line 10

Namespace

Drupal\lingotek\Moderation
View source
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.
  }

}

Members