LingotekModerationServiceInterface.php in Lingotek Translation 3.1.x
Same filename and directory in other branches
- 8.2 src/Moderation/LingotekModerationServiceInterface.php
- 4.0.x src/Moderation/LingotekModerationServiceInterface.php
- 3.0.x src/Moderation/LingotekModerationServiceInterface.php
- 3.2.x src/Moderation/LingotekModerationServiceInterface.php
- 3.3.x src/Moderation/LingotekModerationServiceInterface.php
- 3.4.x src/Moderation/LingotekModerationServiceInterface.php
- 3.5.x src/Moderation/LingotekModerationServiceInterface.php
- 3.6.x src/Moderation/LingotekModerationServiceInterface.php
- 3.7.x src/Moderation/LingotekModerationServiceInterface.php
- 3.8.x src/Moderation/LingotekModerationServiceInterface.php
Namespace
Drupal\lingotek\ModerationFile
src/Moderation/LingotekModerationServiceInterface.phpView source
<?php
namespace Drupal\lingotek\Moderation;
use Drupal\Core\Extension\ModuleHandlerInterface;
/**
* Common interface for all the Lingotek moderation services.
*
* @package Drupal\lingotek\Moderation
*/
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);
}
Interfaces
Name | Description |
---|---|
LingotekModerationServiceInterface | Common interface for all the Lingotek moderation services. |