You are here

public function LingotekWorkbenchModerationConfigurationService::__construct in Lingotek Translation 3.1.x

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

Constructs a new LingotekWorkbenchModerationConfigurationService object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/Moderation/LingotekWorkbenchModerationConfigurationService.php, line 32

Class

LingotekWorkbenchModerationConfigurationService
Manages workbench moderation settings in the Lingotek integration.

Namespace

Drupal\lingotek\Moderation

Code

public function __construct(ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config_factory) {
  $this
    ->setModuleHandler($module_handler);
  $this->configFactory = $config_factory;
}