You are here

interface LingotekModerationServiceInterface in Lingotek Translation 3.1.x

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

Common interface for all the Lingotek moderation services.

@package Drupal\lingotek\Moderation

Hierarchy

Expanded class hierarchy of LingotekModerationServiceInterface

All classes that implement LingotekModerationServiceInterface

File

src/Moderation/LingotekModerationServiceInterface.php, line 12

Namespace

Drupal\lingotek\Moderation
View source
interface LingotekModerationServiceInterface {

  /**
   * Checks if this service applies.
   *
   * @return bool
   *   TRUE if this service applies. FALSE if not.
   */
  public function applies();

  /**
   * Sets the module handler for this service.
   *
   * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
   *   The module handler.
   *
   * @return $this
   */
  public function setModuleHandler(ModuleHandlerInterface $module_handler);

}

Members

Namesort descending Modifiers Type Description Overrides
LingotekModerationServiceInterface::applies public function Checks if this service applies.
LingotekModerationServiceInterface::setModuleHandler public function Sets the module handler for this service.