interface LingotekModerationConfigurationServiceInterface in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
- 4.0.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
- 3.0.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
- 3.1.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
- 3.2.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
- 3.3.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
- 3.4.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
- 3.6.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
- 3.7.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
- 3.8.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
Service for managing moderation settings in the Lingotek integration.
@package Drupal\lingotek\Moderation
Hierarchy
- interface \Drupal\lingotek\Moderation\LingotekModerationServiceInterface
- interface \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
Expanded class hierarchy of LingotekModerationConfigurationServiceInterface
All classes that implement LingotekModerationConfigurationServiceInterface
1 file declares its use of LingotekModerationConfigurationServiceInterface
- LingotekModerationFactoryTest.php in tests/
src/ Unit/ Moderation/ LingotekModerationFactoryTest.php
File
- src/
Moderation/ LingotekModerationConfigurationServiceInterface.php, line 10
Namespace
Drupal\lingotek\ModerationView source
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);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LingotekModerationConfigurationServiceInterface:: |
public | function | Gets the moderation transition ID that triggers a download. | 3 |
LingotekModerationConfigurationServiceInterface:: |
public | function | Gets the moderation status ID that triggers an upload. | 3 |
LingotekModerationConfigurationServiceInterface:: |
public | function | Sets the moderation transition ID that triggers a download. | 3 |
LingotekModerationConfigurationServiceInterface:: |
public | function | Sets the moderation status ID that triggers an upload. | 3 |
LingotekModerationServiceInterface:: |
public | function | Checks if this service applies. | |
LingotekModerationServiceInterface:: |
public | function | Sets the module handler for this service. |