LingotekModerationConfigurationServiceInterface.php in Lingotek Translation 3.5.x
Same filename and directory in other branches
- 8.2 src/Moderation/LingotekModerationConfigurationServiceInterface.php
- 4.0.x src/Moderation/LingotekModerationConfigurationServiceInterface.php
- 3.0.x src/Moderation/LingotekModerationConfigurationServiceInterface.php
- 3.1.x src/Moderation/LingotekModerationConfigurationServiceInterface.php
- 3.2.x src/Moderation/LingotekModerationConfigurationServiceInterface.php
- 3.3.x src/Moderation/LingotekModerationConfigurationServiceInterface.php
- 3.4.x src/Moderation/LingotekModerationConfigurationServiceInterface.php
- 3.6.x src/Moderation/LingotekModerationConfigurationServiceInterface.php
- 3.7.x src/Moderation/LingotekModerationConfigurationServiceInterface.php
- 3.8.x src/Moderation/LingotekModerationConfigurationServiceInterface.php
Namespace
Drupal\lingotek\ModerationFile
src/Moderation/LingotekModerationConfigurationServiceInterface.phpView source
<?php
namespace Drupal\lingotek\Moderation;
/**
* Service for managing moderation settings in the Lingotek integration.
*
* @package Drupal\lingotek\Moderation
*/
interface LingotekModerationConfigurationServiceInterface extends LingotekModerationServiceInterface {
/**
* Gets the moderation status ID that triggers an upload.
*
* @param string $entity_type_id
* An entity type ID.
* @param string $bundle
* A bundle.
*
* @return string
* The moderation status ID that triggers an upload.
*/
public function getUploadStatus($entity_type_id, $bundle);
/**
* Gets the moderation transition ID that triggers a download.
*
* @param string $entity_type_id
* An entity type ID.
* @param string $bundle
* A bundle.
*
* @return string
* The moderation transition ID that should be triggered after a download.
*/
public function getDownloadTransition($entity_type_id, $bundle);
/**
* Sets the moderation status ID that triggers an upload.
*
* @param string $entity_type_id
* An entity type ID.
* @param string $bundle
* A bundle.
* @param string $status
* The moderation status ID.
*
* @return string
* The moderation status ID that triggers an upload.
*/
public function setUploadStatus($entity_type_id, $bundle, $status);
/**
* Sets the moderation transition ID that triggers a download.
*
* @param string $entity_type_id
* An entity type ID.
* @param string $bundle
* A bundle.
* @param string $transition
* The moderation transition ID.
*
* @return string
* The moderation transition ID that should be triggered after a download.
*/
public function setDownloadTransition($entity_type_id, $bundle, $transition);
}
Interfaces
Name | Description |
---|---|
LingotekModerationConfigurationServiceInterface | Service for managing moderation settings in the Lingotek integration. |