You are here

interface LingotekModerationConfigurationServiceInterface in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 4.0.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
  2. 3.0.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
  3. 3.1.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
  4. 3.2.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
  5. 3.3.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
  6. 3.4.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
  7. 3.5.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
  8. 3.6.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
  9. 3.7.x src/Moderation/LingotekModerationConfigurationServiceInterface.php \Drupal\lingotek\Moderation\LingotekModerationConfigurationServiceInterface
  10. 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

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\Moderation
View 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

Namesort descending Modifiers Type Description Overrides
LingotekModerationConfigurationServiceInterface::getDownloadTransition public function Gets the moderation transition ID that triggers a download. 3
LingotekModerationConfigurationServiceInterface::getUploadStatus public function Gets the moderation status ID that triggers an upload. 3
LingotekModerationConfigurationServiceInterface::setDownloadTransition public function Sets the moderation transition ID that triggers a download. 3
LingotekModerationConfigurationServiceInterface::setUploadStatus public function Sets the moderation status ID that triggers an upload. 3
LingotekModerationServiceInterface::applies public function Checks if this service applies.
LingotekModerationServiceInterface::setModuleHandler public function Sets the module handler for this service.